Skip to content

Wrong syntax for a workflow running for more than one operative system #26084

Answered by jaoo
jaoo asked this question in Actions
Discussion options

You must be logged in to vote

Me again.

Something like this did not work either:

# Pull request project linux_llvm workflow.

name: project-linux_llvm

on: [pull_request]

jobs:
run:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: [self-hosted, project-linux_llvm, stretch]

      - os: [self-hosted, project-linux_llvm, buster]
if: "!contains(github.event.pull_request.title, '[skip ci]')"
steps:
- name: Checkout
  uses: actions/checkout@v2
  with:
    lfs: true

Thanks.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant