Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
bumped node version and fetching binaries from github
Browse files Browse the repository at this point in the history
  • Loading branch information
matthme committed Apr 25, 2024
1 parent 3d159f7 commit 0c81099
Showing 1 changed file with 25 additions and 13 deletions.
38 changes: 25 additions & 13 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: setup node
uses: actions/setup-node@v1
with:
node-version: 16
node-version: 20
- name: install Rust stable
uses: actions-rs/toolchain@v1
with:
Expand Down Expand Up @@ -60,13 +60,20 @@ jobs:
run: |
mkdir src-tauri/bins
cargo install --version 0.4.2 lair_keystore
LAIR_PATH=$(which lair-keystore)
cp $LAIR_PATH src-tauri/bins/lair-keystore-v0.4.2-x86_64-apple-darwin
# cargo install --version 0.4.2 lair_keystore
# LAIR_PATH=$(which lair-keystore)
# cp $LAIR_PATH src-tauri/bins/lair-keystore-v0.4.2-x86_64-apple-darwin
# cargo install holochain --version 0.2.8-rc.1 --locked --features sqlite-encrypted
# HOLOCHAIN_PATH=$(which holochain)
# cp $HOLOCHAIN_PATH src-tauri/bins/holochain-v0.2.8-rc.1-x86_64-apple-darwin
curl -L --output src-tauri/bins/lair-keystore-v0.4.2-x86_64-apple-darwin https://github.com/matthme/holochain-binaries/releases/download/lair-binaries-0.4.2/lair-keystore-v0.4.2-x86_64-apple-darwin
curl -L --output src-tauri/bins/holochain-v0.2.8-rc.1-x86_64-apple-darwin https://github.com/matthme/holochain-binaries/releases/download/holochain-binaries-0.2.8-rc.1/holochain-v0.2.8-rc.1-x86_64-apple-darwin
chmod +x src-tauri/bins/lair-keystore-v0.4.2-x86_64-apple-darwin
chmod +x src-tauri/bins/holochain-v0.2.8-rc.1-x86_64-apple-darwin
cargo install holochain --version 0.2.8-rc.1 --locked --features sqlite-encrypted
HOLOCHAIN_PATH=$(which holochain)
cp $HOLOCHAIN_PATH src-tauri/bins/holochain-v0.2.8-rc.1-x86_64-apple-darwin
# NEW_VERSION: install new holochain version and copy its binary to the tauri path
Expand All @@ -89,15 +96,20 @@ jobs:
run: |
mkdir src-tauri/bins
cargo install --version 0.4.2 lair_keystore
LAIR_PATH=$(which lair-keystore)
cp $LAIR_PATH src-tauri/bins/lair-keystore-v0.4.2-x86_64-unknown-linux-gnu
# cargo install --version 0.4.2 lair_keystore
# LAIR_PATH=$(which lair-keystore)
# cp $LAIR_PATH src-tauri/bins/lair-keystore-v0.4.2-x86_64-unknown-linux-gnu
# cargo install holochain --version 0.2.8-rc.1 --locked --features sqlite-encrypted
# HOLOCHAIN_PATH=$(which holochain)
# cp $HOLOCHAIN_PATH src-tauri/bins/holochain-v0.2.8-rc.1-x86_64-unknown-linux-gnu
cargo install holochain --version 0.2.8-rc.1 --locked --features sqlite-encrypted
HOLOCHAIN_PATH=$(which holochain)
cp $HOLOCHAIN_PATH src-tauri/bins/holochain-v0.2.8-rc.1-x86_64-unknown-linux-gnu
curl -L --output src-tauri/bins/lair-keystore-v0.4.2-x86_64-unknown-linux-gnu https://github.com/matthme/holochain-binaries/releases/download/lair-binaries-0.4.2/lair-keystore-v0.4.2-x86_64-unknown-linux-gnu
curl -L --output src-tauri/bins/holochain-v0.2.8-rc.1-x86_64-unknown-linux-gnu https://github.com/matthme/holochain-binaries/releases/download/holochain-binaries-0.2.8-rc.1/holochain-v0.2.8-rc.1-x86_64-unknown-linux-gnu
chmod +x src-tauri/bins/lair-keystore-v0.4.2-x86_64-unknown-linux-gnu
chmod +x src-tauri/bins/holochain-v0.2.8-rc.1-x86_64-unknown-linux-gnu
# NEW_VERSION: install new holochain version and copy its binary to the tauri path
Expand Down

0 comments on commit 0c81099

Please sign in to comment.