File tree Expand file tree Collapse file tree 4 files changed +537
-529
lines changed Expand file tree Collapse file tree 4 files changed +537
-529
lines changed Original file line number Diff line number Diff line change 11name : nuke the CI
22on :
3- push :
4- tags :
5- - " nuke-ci*"
3+ workflow_dispatch :
4+
65jobs :
76 delete_all_runs :
87 name : delete all workflow runs
Original file line number Diff line number Diff line change 11name : publish cli
22on :
33 push :
4+ branches :
5+ # make binaries which may be ahead of releases to use in CI jobs
6+ - " ci-bins*"
47 tags : # run this also on release candidates
58 - " [0-9]+.[0-9]+.[0-9]*"
6- # make binaries which may be ahead of releases to use in CI jobs
7- - " ci-bins"
9+
810jobs :
911 publish :
1012 permissions :
@@ -29,11 +31,24 @@ jobs:
2931 # size and performance optimized binary with profile.cli
3032 run : cargo b --release -p libra
3133
34+ # release bin
3235 - name : libra publish
36+ if : ${{ !contains(github.ref, 'ci-bins') }}
3337 uses : svenstaro/upload-release-action@v2
3438 with :
3539 repo_token : ${{ secrets.GITHUB_TOKEN }}
3640 file : target/release/libra
3741 tag : ${{ github.ref }}
3842 overwrite : true
3943 file_glob : true
44+
45+ # CI bin
46+ - name : libra publish
47+ if : ${{ contains(github.ref, 'ci-bins') }}
48+ uses : svenstaro/upload-release-action@v2
49+ with :
50+ repo_token : ${{ secrets.GITHUB_TOKEN }}
51+ file : target/release/libra
52+ tag : ci-bins
53+ overwrite : true
54+ file_glob : true
You can’t perform that action at this time.
0 commit comments