From 21c8ce8dfd6a47ce3c4c689ba5ec33b123653aa3 Mon Sep 17 00:00:00 2001 From: Esad Yusuf Atik Date: Fri, 6 Sep 2024 23:52:40 +0300 Subject: [PATCH] make default rust version 1.79.0 in release (#1122) * make default rust version 1.79.0 * use home directory for rzup --- .github/workflows/release.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5d7bb73d5..420f51b46 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,15 +25,17 @@ jobs: - name: Install Rust run: | curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y + rustup install 1.79.0 + rustup default 1.79.0 - name: Install Cargo Binstall run: | source $HOME/.cargo/env - cargo install cargo-binstall + cargo install --version 1.7.0 cargo-binstall - name: Install Cargo Risczero run: | - curl -L https://risczero.com/install | bash; source ~/.bashrc; ./.risc0/bin/rzup -v 1.0.5; + curl -L https://risczero.com/install | bash; source ~/.bashrc; ~/.risc0/bin/rzup -v 1.0.5; - name: Build Project env: @@ -69,16 +71,18 @@ jobs: - name: Install Rust run: | curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y + rustup install 1.79.0 + rustup default 1.79.0 - name: Install Cargo Binstall run: | source $HOME/.cargo/env - cargo install cargo-binstall + cargo install --version 1.7.0 cargo-binstall - name: Install Cargo Risczero run: | source $HOME/.cargo/env - curl -L https://risczero.com/install | bash; source ~/.bashrc; ./.risc0/bin/rzup -v 1.0.5; + curl -L https://risczero.com/install | bash; source ~/.bashrc; ~/.risc0/bin/rzup -v 1.0.5; - name: Build Project env: