Skip to content

Commit 49f0278

Browse files
committed
Release waits for tests
Add a wait-for-ci job that ensures the CI workflow passes before publishing to NuGet.
1 parent ba9e23c commit 49f0278

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,21 @@ on:
77
- v*.*.*
88

99
jobs:
10+
wait-for-ci:
11+
name: Wait for CI
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Wait for CI to pass
15+
uses: lewagon/wait-on-check-action@v1.5.0
16+
with:
17+
ref: ${{ github.sha }}
18+
running-workflow-name: Wait for CI
19+
repo-token: ${{ secrets.GITHUB_TOKEN }}
20+
wait-interval: 10
21+
1022
publish:
1123
name: Publish Client
24+
needs: wait-for-ci
1225
runs-on: ubuntu-latest
1326
steps:
1427
- uses: actions/checkout@v6

0 commit comments

Comments
 (0)