-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
create ci-build channel for test binaries
- Loading branch information
1 parent
d6ada0f
commit 6b21aba
Showing
2 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: publish ci bins | ||
on: | ||
push: | ||
branches: | ||
# make binaries which may be ahead of releases to use in CI jobs | ||
- "ci-bins" | ||
jobs: | ||
publish: | ||
permissions: | ||
write-all | ||
name: publish | ||
runs-on: ubuntu-latest | ||
steps: | ||
# NOTE: for debugging CI this allow shell access to github runner. Will print out tmate.io terminal url | ||
# - name: Setup tmate session | ||
# uses: mxschmitt/action-tmate@v3 | ||
# with: | ||
# detached: true | ||
# timeout-minutes: 15 | ||
|
||
- name: checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: setup env | ||
uses: ./.github/actions/build_env | ||
|
||
- name: build libra cli release | ||
# size and performance optimized binary with profile.cli | ||
# NOTE: this is uses "testing" feature since some Move tests | ||
# depend on it | ||
run: cargo b --features testing --release -p libra | ||
|
||
- name: libra publish | ||
uses: svenstaro/upload-release-action@v2 | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: target/release/libra | ||
tag: ${{ github.ref }} | ||
overwrite: true | ||
file_glob: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters