File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : build
22
3- # This workflow runs if the CI workflow is successful
3+ # This workflow is triggered only after the "CI" workflow completes
44on :
55 workflow_run :
6- workflows : ["CI"] # Keep consistent with actual CI workflow name
7- types :
6+ workflows : ["CI"] # The name of the workflow from CI.yml
7+ types :
88 - completed
9- branches : [master]
10- workflow_dispatch :
119
1210jobs :
1311 build :
14- if : ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
1512 runs-on : ubuntu-latest
13+ if : github.event.workflow_run.conclusion == 'success'
14+
1615 steps :
1716 - name : Checkout code
18- uses : actions/checkout@v2
17+ uses : actions/checkout@v4
1918
2019 - name : Set up Go
21- uses : actions/setup-go@v2
20+ uses : actions/setup-go@v4
2221 with :
23- go-version : 1.24
22+ go-version : ' 1.24'
2423
2524 - name : Build
2625 run : make build
You can’t perform that action at this time.
0 commit comments