Skip to content

Commit

Permalink
[deps] update diem to version with feature flag cleanup (#317)
Browse files Browse the repository at this point in the history
  • Loading branch information
sirouk authored and 0o-de-lally committed Sep 25, 2024
1 parent d6ada0f commit 37bb464
Show file tree
Hide file tree
Showing 4 changed files with 537 additions and 529 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/nuke-ci.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: nuke the CI
on:
push:
tags:
- "nuke-ci*"
workflow_dispatch:

jobs:
delete_all_runs:
name: delete all workflow runs
Expand Down
19 changes: 17 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
name: publish cli
on:
push:
branches:
# make binaries which may be ahead of releases to use in CI jobs
- "ci-bins*"
tags: # run this also on release candidates
- "[0-9]+.[0-9]+.[0-9]*"
# make binaries which may be ahead of releases to use in CI jobs
- "ci-bins"

jobs:
publish:
permissions:
Expand All @@ -29,11 +31,24 @@ jobs:
# size and performance optimized binary with profile.cli
run: cargo b --release -p libra

# release bin
- name: libra publish
if: ${{ !contains(github.ref, 'ci-bins') }}
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: target/release/libra
tag: ${{ github.ref }}
overwrite: true
file_glob: true

# CI bin
- name: libra publish
if: ${{ contains(github.ref, 'ci-bins') }}
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: target/release/libra
tag: ci-bins
overwrite: true
file_glob: true
Loading

0 comments on commit 37bb464

Please sign in to comment.