File tree Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Original file line number Diff line number Diff line change 11name : Release Binaries Windows
22
33on :
4- pull_request :
54 workflow_dispatch :
65 inputs :
76 release-version :
1211 description : ' Upload binaries to the release page'
1312 required : true
1413 default : false
14+ # Run on pull_requests for testing purposes.
15+ pull_request :
16+ paths :
17+ - ' .github/workflows/release-binaries-windows.yml'
18+ - ' .github/workflows/upload-release-artifact/action.yml'
19+ types :
20+ - opened
21+ - synchronize
22+ - reopened
23+ # When a PR is closed, we still start this workflow, but then skip
24+ # all the jobs, which makes it effectively a no-op. The reason to
25+ # do this is that it allows us to take advantage of concurrency groups
26+ # to cancel in progress CI jobs whenever the PR is closed.
27+ - closed
28+
29+ concurrency :
30+ group : ${{ github.workflow }}-${{ inputs.release-version || github.event.pull_request.number }}
31+ cancel-in-progress : True
1532
1633
1734permissions :
18- id-token : write
19- attestations : write
35+ contents : read
2036
2137jobs :
2238 build-windows-release :
You can’t perform that action at this time.
0 commit comments