Skip to content

Commit

Permalink
dfx version
Browse files Browse the repository at this point in the history
  • Loading branch information
mraszyk committed Oct 1, 2024
1 parent 9bb5c7d commit 58d7462
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/motoko-canister-logs-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Provision Darwin
run: DFX_VERSION="0.23.0" bash .github/workflows/provision-darwin.sh
run: bash .github/workflows/provision-darwin.sh
- name: Motoko Canister Logs Darwin
run: |
dfx start --background --clean --pocketic
Expand All @@ -31,7 +31,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Provision Linux
run: DFX_VERSION="0.23.0" bash .github/workflows/provision-linux.sh
run: bash .github/workflows/provision-linux.sh
- name: Motoko Canister Logs Linux
run: |
dfx start --background --clean --pocketic
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/provision-darwin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ rm node.pkg

# Install DFINITY SDK.
curl --location --output install-dfx.sh "https://raw.githubusercontent.com/dfinity/sdk/master/public/install-dfxvm.sh"
DFX_VERSION=${DFX_VERSION:=0.23.0} DFXVM_INIT_YES=true bash install-dfx.sh
DFX_VERSION=${DFX_VERSION:=0.24.0} DFXVM_INIT_YES=true bash install-dfx.sh
rm install-dfx.sh
echo "$HOME/Library/Application Support/org.dfinity.dfx/bin" >> $GITHUB_PATH
source "$HOME/Library/Application Support/org.dfinity.dfx/env"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/provision-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ rm install-node.sh

# Install DFINITY SDK.
wget --output-document install-dfx.sh "https://raw.githubusercontent.com/dfinity/sdk/master/public/install-dfxvm.sh"
DFX_VERSION=${DFX_VERSION:=0.23.0} DFXVM_INIT_YES=true bash install-dfx.sh
DFX_VERSION=${DFX_VERSION:=0.24.0} DFXVM_INIT_YES=true bash install-dfx.sh
rm install-dfx.sh
echo "$HOME/.local/share/dfx/bin" >> $GITHUB_PATH
source "$HOME/.local/share/dfx/env"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rust-canister-info-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Provision Darwin
run: DFX_VERSION="0.23.0" bash .github/workflows/provision-darwin.sh
run: bash .github/workflows/provision-darwin.sh
- name: Rust Canister info Darwin
run: |
dfx start --background --clean --pocketic
Expand All @@ -33,7 +33,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Provision Linux
run: DFX_VERSION="0.23.0" bash .github/workflows/provision-linux.sh
run: bash .github/workflows/provision-linux.sh
- name: Rust Canister info Linux
run: |
dfx start --background --clean --pocketic
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rust-canister-logs-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Provision Darwin
run: DFX_VERSION="0.23.0" bash .github/workflows/provision-darwin.sh
run: bash .github/workflows/provision-darwin.sh
- name: Rust Canister Logs Darwin
run: |
dfx start --background --clean --pocketic
Expand All @@ -31,7 +31,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Provision Linux
run: DFX_VERSION="0.23.0" bash .github/workflows/provision-linux.sh
run: bash .github/workflows/provision-linux.sh
- name: Rust Canister Logs Linux
run: |
dfx start --background --clean --pocketic
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rust-canister-snapshots-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Provision Darwin
run: DFX_VERSION="0.23.0" bash .github/workflows/provision-darwin.sh
run: bash .github/workflows/provision-darwin.sh
- name: Remove networks.json
run: rm -f ~/.config/dfx/networks.json
- name: Rust Canister Snapshots Darwin
Expand All @@ -33,7 +33,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Provision Linux
run: DFX_VERSION="0.23.0" bash .github/workflows/provision-linux.sh
run: bash .github/workflows/provision-linux.sh
- name: Remove networks.json
run: rm -f ~/.config/dfx/networks.json
- name: Rust Canister Snapshots Linux
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rust-face-recognition-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Provision Darwin
run: DFX_VERSION="0.23.0" bash .github/workflows/provision-darwin.sh
run: bash .github/workflows/provision-darwin.sh
- name: Remove networks.json
run: rm -f ~/.config/dfx/networks.json
- name: Rust Face Recognition Darwin
Expand All @@ -35,7 +35,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Provision Linux
run: DFX_VERSION="0.23.0" bash .github/workflows/provision-linux.sh
run: bash .github/workflows/provision-linux.sh
- name: Remove networks.json
run: rm -f ~/.config/dfx/networks.json
- name: Rust Face Recognition Linux
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rust-image-classification-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Provision Darwin
run: DFX_VERSION="0.23.0" bash .github/workflows/provision-darwin.sh
run: bash .github/workflows/provision-darwin.sh
- name: Remove networks.json
run: rm -f ~/.config/dfx/networks.json
- name: Rust Image Classification Darwin
Expand All @@ -33,7 +33,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Provision Linux
run: DFX_VERSION="0.23.0" bash .github/workflows/provision-linux.sh
run: bash .github/workflows/provision-linux.sh
- name: Remove networks.json
run: rm -f ~/.config/dfx/networks.json
- name: Rust Image Classification Linux
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rust-simd-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Provision Darwin
run: DFX_VERSION="0.23.0" bash .github/workflows/provision-darwin.sh
run: bash .github/workflows/provision-darwin.sh
- name: Remove networks.json
run: rm -f ~/.config/dfx/networks.json
- name: Rust SIMD Darwin
Expand All @@ -33,7 +33,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Provision Linux
run: DFX_VERSION="0.23.0" bash .github/workflows/provision-linux.sh
run: bash .github/workflows/provision-linux.sh
- name: Remove networks.json
run: rm -f ~/.config/dfx/networks.json
- name: Rust SIMD Linux
Expand Down

0 comments on commit 58d7462

Please sign in to comment.