Skip to content

Commit bd2b565

Browse files
author
Jason I
committed
chore: add new workflow to download latest ic and test examples
1 parent 6343217 commit bd2b565

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/check-interface-spec-compatibility.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,14 @@ jobs:
5656
curl -O "https://download.dfinity.systems/ic/$latest_sha/binaries/x86_64-linux/sandbox_launcher.gz"
5757
curl -O "https://download.dfinity.systems/ic/$latest_sha/binaries/x86_64-linux/sns.gz"
5858
59+
- name: Install IC SDK
60+
run: |
61+
wget --output-document install-dfx.sh "https://raw.githubusercontent.com/dfinity/sdk/dfxvm-install-script/install.sh"
62+
DFX_VERSION=${DFX_VERSION:=0.19.0} DFXVM_INIT_YES=true bash install-dfx.sh
63+
rm install-dfx.sh
64+
echo "$HOME/.local/share/dfx/bin" >> $GITHUB_PATH
65+
source "$HOME/.local/share/dfx/env"
66+
5967
- name: Overwrite artifacts in dfx cache
6068
run: |
6169
gzip -d replica.gz

0 commit comments

Comments
 (0)