Skip to content

Commit

Permalink
Installer action for binstall
Browse files Browse the repository at this point in the history
  • Loading branch information
bitdivine committed Nov 7, 2023
1 parent 5e15f81 commit 37f69cb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/actions/install_binstall/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: 'Installs binstall'
description: |
Installs `cargo binstall` at the version specified in dfx.json
runs:
using: "composite"
steps:
- name: Install binstall
shell: bash
run: |
. bin/versions.bash
curl -L --proto '=https' --tlsv1.2 -sSf "https://github.com/cargo-bins/cargo-binstall/releases/download/v${BINSTALL_VERSION}/cargo-binstall-x86_64-unknown-linux-musl.tgz" | tar -xvzf -
./cargo-binstall -y --force "cargo-binstall@$BINSTALL_VERSION"
1 change: 1 addition & 0 deletions bin/versions.bash
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ NNS_DAPP_RELEASE=proposal-121690
DIDC_VERSION=2023-07-25
QUILL_VERSION=0.4.0
IDL2JSON_VERSION=0.8.5
BINSTALL_VERSION=1.3.0

0 comments on commit 37f69cb

Please sign in to comment.