Skip to content

Commit 5326786

Browse files
committed
fix: better action to wait for build to do release
1 parent 8ed5ad6 commit 5326786

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,15 @@ jobs:
3030
echo "tag=${{ github.event.inputs.tag }}" >> $GITHUB_OUTPUT
3131
fi
3232
33-
- name: Wait for build to complete
34-
uses: lewagon/wait-on-check-action@v1.3.1
33+
- name: Wait for build workflow to complete
34+
uses: fountainhead/action-wait-for-check@v1.1.0
35+
id: wait-for-build
3536
with:
37+
token: ${{ secrets.GITHUB_TOKEN }}
38+
checkName: build
3639
ref: ${{ steps.tag.outputs.tag }}
37-
check-name: "Build" # check for successful build on all OS/archs
38-
repo-token: ${{ secrets.GITHUB_TOKEN }}
39-
wait-interval: 10
40+
timeoutSeconds: 600
41+
intervalSeconds: 10
4042

4143
- name: Download build artifacts
4244
uses: dawidd6/action-download-artifact@v3

0 commit comments

Comments
 (0)