-
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.
[ci] use libra-cli bin for faster CI runs (#308)
- Loading branch information
1 parent
79d4c54
commit 6fb524f
Showing
13 changed files
with
85 additions
and
132 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
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,26 @@ | ||
name: get cli bin | ||
description: use pre-build libra-cli bin for CI | ||
runs: | ||
using: composite | ||
steps: | ||
- name: export diem-node DIEM_FORGE_NODE_BIN_PATH | ||
shell: bash | ||
run: | | ||
echo "LIBRA_BIN=${{github.workspace}}/libra" >> $GITHUB_ENV | ||
echo "DIEM_FORGE_NODE_BIN_PATH=${{github.workspace}}/libra" >> $GITHUB_ENV | ||
# also have the file available in $PATH | ||
echo ${{github.workspace}} >> $GITHUB_PATH | ||
- name: install diem-node (for smoke tests) | ||
shell: bash | ||
run: > | ||
wget -O $LIBRA_BIN https://github.com/0LNetworkCommunity/libra-framework/releases/download/ci-bins/libra && | ||
sudo chmod 755 $LIBRA_BIN | ||
- name: print version | ||
shell: bash | ||
run: | | ||
echo $LIBRA_BIN | ||
echo $DIEM_FORGE_NODE_BIN_PATH | ||
# for debugging, display the version, and ensure using the same aliases | ||
${{github.workspace}}/libra version | ||
libra version |
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
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
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
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
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
Oops, something went wrong.