Skip to content

Commit

Permalink
build.yml: Add missing runners
Browse files Browse the repository at this point in the history
  • Loading branch information
abraxa committed Aug 22, 2024
1 parent 036609e commit 5e9c671
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
name: Create pending status
# Run this only for pull requests
if: (github.event == pull_request)
runs-on: ubuntu-latest

steps:
- name: Get PR hash
Expand Down Expand Up @@ -52,8 +53,9 @@ jobs:
if: |
always() && # Workaround, see https://github.com/actions/runner/issues/491#issuecomment-850884422
(github.event == pull_request) &&
!contains(needs.*.result, 'cancelled') &&
!contains(needs.*.result, 'failure')
(!contains(needs.*.result, 'cancelled')) &&
(!contains(needs.*.result, 'failure'))
runs-on: ubuntu-latest

steps:
- name: Get PR hash
Expand Down Expand Up @@ -91,6 +93,7 @@ jobs:
always() && # Workaround, see https://github.com/actions/runner/issues/491#issuecomment-850884422
(github.event == pull_request) &&
(contains(needs.*.result, 'cancelled') || contains(needs.*.result, 'failure'))
runs-on: ubuntu-latest

steps:
- name: Get PR hash
Expand Down

0 comments on commit 5e9c671

Please sign in to comment.