Skip to content

feat: add verifiable build for svm contract #5

feat: add verifiable build for svm contract

feat: add verifiable build for svm contract #5

name: Release SVM Program
on:
pull_request:
push:
branches:
- main
paths:
- contracts/svm/**
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Solana Verify CLI
run: |
cargo install solana-verify --git https://github.com/Ellipsis-Labs/solana-verifiable-build --rev 121568e
- name: Build
working-directory: ./contracts/svm
run: solana-verify build
- name: Print Hash
working-directory: ./contracts/svm
run: sha256sum ./target/deploy/express_relay.so
- name: Upload artifact
uses: actions/upload-artifact@v4
working-directory: ./contracts/svm

Check failure on line 28 in .github/workflows/release-svm-program.yml

View workflow run for this annotation

GitHub Actions / Release SVM Program

Invalid workflow file

The workflow is not valid. .github/workflows/release-svm-program.yml (Line: 28, Col: 9): Unexpected value 'working-directory'
with:
name: express_relay.so
path: ./target/deploy/express_relay.so
retention-days: 90