fix: verifiable build workflow #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | ||
on: | ||
pull_request: | ||
push: | ||
branches: [main] | ||
tags: | ||
- v* | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: "18.19.1" | ||
- name: Install Solana Verify CLI | ||
run: | | ||
cargo install solana-verify --git https://github.com/Ellipsis-Labs/solana-verifiable-build --rev 098551f | ||
- name: Build | ||
working-directory: ./staking | ||
run: solana-verify build | ||
- name: Publish program binaries | ||
working-directory: ./staking | ||
uses: svenstaro/upload-release-action@133984371c30d34e38222a64855679a414cb7575 | ||
Check failure on line 27 in .github/workflows/release.yml GitHub Actions / ReleaseInvalid workflow file
|
||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: ./target/deploy/*.so | ||
tag: ${{ github.ref }} | ||
file_glob: true |