Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[deps] update diem to version with feature flag cleanup #317

Merged
merged 2 commits into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading