Skip to content

Commit

Permalink
feat: release workflow waits on every other checks to run
Browse files Browse the repository at this point in the history
  • Loading branch information
szattila98 committed Mar 27, 2024
1 parent 677ee4f commit f61569a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ permissions:
jobs:
upload_license:
name: Upload License
if: ${{ github.ref_type == 'tag' }}
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
Expand All @@ -27,6 +28,7 @@ jobs:

build:
name: Build - ${{ matrix.platform }}
if: ${{ github.ref_type == 'tag' }}
runs-on: ${{ matrix.platform }}
strategy:
matrix:
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,9 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Wait on checks
uses: lewagon/wait-on-check-action@v1.3.3
uses: poseidon/wait-for-status-checks@v0.3.0
with:
ref: ${{ github.ref }}
running-workflow-name: 'Lints and tests'
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 10
token: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit f61569a

Please sign in to comment.