mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-08-06 09:16:30 +08:00
ci: Fix release workflow
This commit is contained in:
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
@@ -28,9 +28,10 @@ jobs:
|
||||
run: |
|
||||
for i in $(seq 1 10); do
|
||||
RUN_ID=$(gh api \
|
||||
--method GET \
|
||||
"/repos/${{ github.repository }}/actions/runs" \
|
||||
-f head_sha=${{ github.sha }} \
|
||||
-f workflow_file_name=check_and_build.yml \
|
||||
-f event=merge_group \
|
||||
-f status=success \
|
||||
--jq '.workflow_runs[0].id // empty')
|
||||
if [ -n "$RUN_ID" ]; then
|
||||
|
||||
Reference in New Issue
Block a user