Skip to content

Commit 37bb464

Browse files
sirouk0o-de-lally
authored andcommitted
[deps] update diem to version with feature flag cleanup (#317)
1 parent d6ada0f commit 37bb464

File tree

4 files changed

+537
-529
lines changed

4 files changed

+537
-529
lines changed

.github/workflows/nuke-ci.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
name: nuke the CI
22
on:
3-
push:
4-
tags:
5-
- "nuke-ci*"
3+
workflow_dispatch:
4+
65
jobs:
76
delete_all_runs:
87
name: delete all workflow runs

.github/workflows/publish.yaml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
name: publish cli
22
on:
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+
810
jobs:
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

0 commit comments

Comments
 (0)