From f5f48ceb6bb574ce6cb1ec954bf6a80a7ea8255c Mon Sep 17 00:00:00 2001 From: CodesByMidnyt <100563026+3th-Enjay@users.noreply.github.com> Date: Fri, 28 Feb 2025 22:08:29 +0100 Subject: [PATCH] Update ci-cd.yml --- .github/workflows/ci-cd.yml | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 96576cab..06636fc4 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -20,24 +20,12 @@ jobs: run: | sudo apt-get update sudo apt-get install -y build-essential libssl-dev pkg-config + + - name: Install Scarb + run: curl --proto '=https' --tlsv1.2 -sSf https://docs.swmansion.com/scarb/install.sh | sh - - name: Install Scarb (v2.7.0-rc.4) - run: | - curl -L https://github.com/software-mansion/scarb/releases/download/v2.7.0-rc.4/scarb-v2.7.0-rc.4-x86_64-unknown-linux-gnu.tar.gz -o scarb.tar.gz - mkdir -p $HOME/.local/share/scarb/bin - tar -xzf scarb.tar.gz -C $HOME/.local/share/scarb/bin --strip-components=1 - echo "$HOME/.local/share/scarb/bin" >> $GITHUB_PATH - rm scarb.tar.gz - - - name: Debug PATH - run: | - echo "PATH: $PATH" - ls -l $HOME/.local/share/scarb/bin - - - name: Verify Scarb Installation - run: | - echo "PATH: $PATH" - scarb --version + - name: Add Scarb to PATH + run: echo "${HOME}/.local/share/scarb/bin" >> $GITHUB_PATH - name: Cache Rust uses: actions/cache@v4