From a8f54bfebeb26afca87305995d9f62c15ba3af9c Mon Sep 17 00:00:00 2001 From: Freeman <105403280+F-WRunTime@users.noreply.github.com> Date: Tue, 8 Oct 2024 08:56:28 -0600 Subject: [PATCH] Fix Soldeer Publish and Release workflow (#11) * Drop manual cargo install and use the 'expect script' to handle everything else. * Install foundry/forge first. Then run expect script. Remove broken workflow steps --- .github/workflows/master-push.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/master-push.yml b/.github/workflows/master-push.yml index 2f145a3..6547e53 100644 --- a/.github/workflows/master-push.yml +++ b/.github/workflows/master-push.yml @@ -13,6 +13,9 @@ jobs: - name: 'Install expect' run: sudo apt-get update && sudo apt-get install -y expect + - name: Install Foundry + uses: foundry-rs/foundry-toolchain@v1.2.0 + - name: 'Run Expect Script' run: expect scripts/soldeer_publish.sh ${{ vars.SOLDEER_EMAIL }} ${{ secrets.SOLDEER_PASSWORD }} @@ -29,11 +32,3 @@ jobs: set -x short_sha=$(git rev-parse --short ${{ github.sha }}) gh release create ${short_sha} --target ${{ github.sha }} - - - name: Install Foundry - uses: foundry-rs/foundry-toolchain@v1 - - - name: 'Build' - run: cargo install soldeer - - - name: 'Run tests'