-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update * update ci * use rzup * hardcode values * typo * install 1.81 * add missing install * remove cargo-risczero * don't specify package
- Loading branch information
Showing
11 changed files
with
866 additions
and
290 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,20 @@ | ||
name: risczero toolchain install | ||
description: Install risczero toolchain | ||
|
||
inputs: | ||
version: | ||
description: 'Version of the RISC Zero to install' | ||
required: true | ||
type: string | ||
toolchain-version: | ||
description: 'Version of the RISC Zero toolchains to install' | ||
required: false | ||
default: '' | ||
type: string | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- uses: risc0/cargo-install@v3 | ||
with: | ||
crate: cargo-binstall | ||
version: '=1.6' | ||
locked: true | ||
|
||
- run: cargo binstall -y --force cargo-risczero@${{ inputs.version }} | ||
shell: bash | ||
- name: install rust | ||
uses: risc0/risc0/.github/actions/rustup@release-1.3 | ||
|
||
- run: cargo risczero install ${{ inputs.toolchain-version != '' && format('--version {0}', inputs.toolchain-version) || '' }} | ||
- name: Install rzup | ||
env: | ||
ENV_PATH: test | ||
shell: bash | ||
run: | | ||
curl -L https://risczero.com/install | bash | ||
echo "$HOME/.risc0/bin" >> $GITHUB_PATH | ||
- name: test risczero | ||
- name: rzup install rust | ||
shell: bash | ||
run: cargo risczero --version | ||
run: rzup install |
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
Oops, something went wrong.