Skip to content

Commit

Permalink
Update default dfx version
Browse files Browse the repository at this point in the history
  • Loading branch information
berestovskyy committed Dec 7, 2023
1 parent 9c67937 commit 903126d
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 12 deletions.
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://internetcomputer.org/install.sh"
DFX_VERSION=${DFX_VERSION:=0.12.0} bash install-dfx.sh < <(yes Y)
DFX_VERSION=${DFX_VERSION:=0.15.2} bash install-dfx.sh < <(yes Y)
rm install-dfx.sh
dfx cache install

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://internetcomputer.org/install.sh"
DFX_VERSION=${DFX_VERSION:=0.12.0} bash install-dfx.sh < <(yes Y)
DFX_VERSION=${DFX_VERSION:=0.15.2} bash install-dfx.sh < <(yes Y)
rm install-dfx.sh
dfx cache install

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 @@ -19,7 +19,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Provision Darwin
run: DFX_VERSION="0.14.2" bash .github/workflows/provision-darwin.sh
run: bash .github/workflows/provision-darwin.sh
- name: Rust Canister info Darwin
run: |
dfx start --background
Expand All @@ -31,7 +31,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Provision Linux
run: DFX_VERSION="0.14.2" bash .github/workflows/provision-linux.sh
run: bash .github/workflows/provision-linux.sh
- name: Rust Canister info Linux
run: |
dfx start --background
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/rust-hello-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Provision Darwin
env:
DFX_VERSION: 0.13.1
run: bash .github/workflows/provision-darwin.sh
- name: Rust Hello Darwin
run: |
Expand All @@ -32,8 +30,6 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Provision Linux
env:
DFX_VERSION: 0.13.1
run: bash .github/workflows/provision-linux.sh
- name: Rust Hello Linux
run: |
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/rust-periodic_tasks-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Provision Darwin
env:
DFX_VERSION: 0.13.1
run: bash .github/workflows/provision-darwin.sh
- name: Rust Periodic Tasks Darwin
run: |
Expand All @@ -32,8 +30,6 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Provision Linux
env:
DFX_VERSION: 0.13.1
run: bash .github/workflows/provision-linux.sh
- name: Rust Periodic Tasks Linux
run: |
Expand Down

0 comments on commit 903126d

Please sign in to comment.