Skip to content

Commit

Permalink
Fix cargo install to account for cache and add .so and IDLs to release (
Browse files Browse the repository at this point in the history
  • Loading branch information
buffalu authored Jul 21, 2023
1 parent 7905af2 commit b9fa959
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

# --force because the cargo cache has it saved
- name: Install Solana Verify
run: |
cargo install solana-verify
cargo install solana-verify --force
solana-verify --version
- name: Verifiable Build
Expand Down
14 changes: 12 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,11 @@ jobs:
working-directory: ./mev-programs
run: anchor test

# Verified Build
# Verified build
# --force because the cargo cache has it saved
- name: Install Solana Verify
run: |
cargo install solana-verify
cargo install solana-verify --force
solana-verify --version
- name: Verifiable Build
Expand Down Expand Up @@ -82,3 +83,12 @@ jobs:
mev-programs/target/deploy/jito_tip_payment.so
mev-programs/target/idl/jito_tip_distribution.json
mev-programs/target/idl/jito_tip_payment.json
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
mev-programs/target/deploy/jito_tip_distribution.so
mev-programs/target/deploy/jito_tip_payment.so
mev-programs/target/idl/jito_tip_distribution.json
mev-programs/target/idl/jito_tip_payment.json

0 comments on commit b9fa959

Please sign in to comment.