Skip to content

Commit

Permalink
Fix Soldeer Publish and Release workflow (#11)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
F-WRunTime authored Oct 8, 2024
1 parent 95057e6 commit a8f54bf
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/master-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]

- name: 'Run Expect Script'
run: expect scripts/soldeer_publish.sh ${{ vars.SOLDEER_EMAIL }} ${{ secrets.SOLDEER_PASSWORD }}

Expand All @@ -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'

0 comments on commit a8f54bf

Please sign in to comment.