@@ -10,24 +10,24 @@ jobs:
1010 runs-on : ubuntu-latest
1111
1212 steps :
13- - name : Authenticate GitHub CLI
14- run : echo "${{ secrets.LINGODB_TOKEN }}" | gh auth login --with-token
15- - name : Trigger build in Repo A
16- id : trigger-build
17- run : |
18- gh api repos/lingo-db/lingodb-test-actions/actions/workflows/release-for-webinterface.yml/dispatches -F ref="main" -F inputs[ref]="b0d8f7a6f5be75a1b545ac54764473048f36b5d7"
19-
20- - name : Wait for a few seconds
21- run : sleep 5
22-
23- - name : Get workflow run ID
24- id : get-run-id
25- run : |
26- run_id=$(gh api repos/lingo-db/lingodb-test-actions/actions/workflows/release-for-webinterface.yml/runs | jq -r '.workflow_runs[0].id')
27- echo "build_run_id=$(run_id)" >> $GITHUB_OUTPUT
28- - name : Get Workflow Run Status and Wait
29- id : wait-for-run
30- run : |
13+ - name : Authenticate GitHub CLI
14+ run : echo "${{ secrets.LINGODB_TOKEN }}" | gh auth login --with-token
15+ - name : Trigger build in Repo A
16+ id : trigger-build
17+ run : |
18+ gh api repos/lingo-db/lingodb-test-actions/actions/workflows/release-for-webinterface.yml/dispatches -F ref="main" -F inputs[ref]="b0d8f7a6f5be75a1b545ac54764473048f36b5d7"
19+
20+ - name : Wait for a few seconds
21+ run : sleep 5
22+
23+ - name : Get workflow run ID
24+ id : get-run-id
25+ run : |
26+ run_id=$(gh api repos/lingo-db/lingodb-test-actions/actions/workflows/release-for-webinterface.yml/runs | jq -r '.workflow_runs[0].id')
27+ echo "build_run_id=$(run_id)" >> $GITHUB_OUTPUT
28+ - name : Get Workflow Run Status and Wait
29+ id : wait-for-run
30+ run : |
3131 build_run_id="${{ steps.get-run-id.outputs.build_run_id }}"
3232
3333 echo "Checking status of workflow run with ID $build_run_id"
5757 echo "Waiting for 10 seconds before checking again..."
5858 sleep 10
5959 done
60-
6160 - name : Download and Extract Artifact
6261 run : |
6362 build_run_id="${{ steps.get-run-id.outputs.build_run_id }}"
0 commit comments