gpu-dawn: CI: correct actions syntax for workflow_run conclusion
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
c78d23f9fe
commit
bc4abbdfa6
1 changed files with 3 additions and 6 deletions
9
gpu-dawn/.github/workflows/ci.yml
vendored
9
gpu-dawn/.github/workflows/ci.yml
vendored
|
|
@ -7,11 +7,10 @@ on:
|
|||
jobs:
|
||||
# TODO(build-system): enable x86 Linux CI here, dependency cycle in build.zig
|
||||
# x86_64-linux:
|
||||
# if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||
# runs-on: ubuntu-latest
|
||||
# # We want to run on external PRs, but not on our own internal PRs as they'll be run by the push
|
||||
# # to the branch.
|
||||
# if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
|
||||
# if: github.event.workflow_run.conclusion == 'success' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository)
|
||||
# steps:
|
||||
# - name: Checkout
|
||||
# uses: actions/checkout@v2
|
||||
|
|
@ -41,11 +40,10 @@ jobs:
|
|||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# TODO(build-system): enable windows CI here once gpu-dawn builds under Windows
|
||||
# x86_64-windows:
|
||||
# if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||
# runs-on: windows-latest
|
||||
# # We want to run on external PRs, but not on our own internal PRs as they'll be run by the push
|
||||
# # to the branch.
|
||||
# if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
|
||||
# if: github.event.workflow_run.conclusion == 'success' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository)
|
||||
# steps:
|
||||
# - name: Checkout
|
||||
# uses: actions/checkout@v2
|
||||
|
|
@ -61,11 +59,10 @@ jobs:
|
|||
# run: zig build install -Dfrom-source=true
|
||||
# # TODO: upload step for Windows
|
||||
x86_64-macos:
|
||||
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||
runs-on: macos-latest
|
||||
# We want to run on external PRs, but not on our own internal PRs as they'll be run by the push
|
||||
# to the branch.
|
||||
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
|
||||
if: github.event.workflow_run.conclusion == 'success' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository)
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue