From 4932d1bd5d0dbaa055f90a0a847f5a911792150c Mon Sep 17 00:00:00 2001 From: Jordan Last Date: Tue, 10 Sep 2024 09:37:48 -0600 Subject: [PATCH] update dfx to 0.23.0 --- .github/workflows/test.yml | 6 +++--- the_kybra_book/src/installation.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 97fdaebc..6d7340c6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -39,7 +39,7 @@ jobs: - if: contains(github.head_ref, 'release--') name: Install dfx run: | - DFXVM_INIT_YES=true DFX_VERSION=0.22.0 sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)" + DFXVM_INIT_YES=true DFX_VERSION=0.23.0 sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)" echo "$HOME/.local/share/dfx/bin" >> $GITHUB_PATH # TODO we should use some Action-specific bot account - if: contains(github.head_ref, 'release--') @@ -180,11 +180,11 @@ jobs: uses: actions/cache@v3 with: path: ~/.cache/dfinity - key: kybra-dfx-0.22.0 + key: kybra-dfx-0.23.0 - if: ${{ needs.release-candidate-deploy.outputs.should_run_tests }} name: Install dfx run: | - DFXVM_INIT_YES=true DFX_VERSION=0.22.0 sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)" + DFXVM_INIT_YES=true DFX_VERSION=0.23.0 sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)" echo "$HOME/.local/share/dfx/bin" >> $GITHUB_PATH - if: ${{ needs.release-candidate-deploy.outputs.should_run_tests }} working-directory: ${{ matrix.example_directories }} diff --git a/the_kybra_book/src/installation.md b/the_kybra_book/src/installation.md index 9ff81565..6a078065 100644 --- a/the_kybra_book/src/installation.md +++ b/the_kybra_book/src/installation.md @@ -10,7 +10,7 @@ Follow the instructions exactly as stated below to avoid issues. You should be using a \*nix environment (Linux, Mac OS, [WSL if using Windows](https://learn.microsoft.com/en-us/windows/wsl/install)) with bash and have the following installed on your system: - Python 3.10.7 -- dfx 0.22.0 +- dfx 0.23.0 - Python VS Code Extension ### Python 3.10.7 @@ -27,10 +27,10 @@ curl https://pyenv.run | bash ### dfx -Run the following command to install dfx 0.22.0: +Run the following command to install dfx 0.23.0: ```bash -DFX_VERSION=0.22.0 sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)" +DFX_VERSION=0.23.0 sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)" ``` If after trying to run `dfx` commands you encounter an error such as `dfx: command not found`, you might need to add `$HOME/bin` to your path. Here's an example of doing this in your `.bashrc`: