You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Anchor Build Container
v1
Docker image for building Anchor programs.
No inputs are required.
- uses: wjthieme/anchor-build@v1
By default, anchor build
is run. You can specify a different command with the run
input.
- uses: wjthieme/anchor-build@v1
with:
run: "cargo build-sbf"
By default, the latest version of Anchor is used. You can specify a different version with the anchor-version
input.
- uses: wjthieme/anchor-build@v1
with:
anchor-version: "v0.29.0"
By default, you'll get a generated keypair to which 1 SOL is airdropped (devnet only). If you want to use your own keypair, you can supply it with the solana-key
input.
- uses: wjthieme/anchor-build@v1
with:
solana-key: ${{ secrets.SOLANA_PRIVATE_KEY }}
Install docker
and act
and run:
act workflow_dispatch