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

Commit

Permalink
Upgraded devhub
Browse files Browse the repository at this point in the history
  • Loading branch information
guillemcordoba committed Jun 14, 2022
1 parent 87c1a6e commit b721840
Show file tree
Hide file tree
Showing 25 changed files with 2,571 additions and 462 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ jobs:
- name: install app dependencies and info
run: npm install && npm run tauri info

- name: fetch DevHub
run: |
curl -L --output DevHub.webhapp https://github.com/holochain/launcher/releases/download/v0.3.9/DevHub.webhapp
- name: download caddy (Windows only)
if: matrix.platform == 'windows-2019'
run: |
Expand Down Expand Up @@ -64,6 +60,10 @@ jobs:
# NEW_VERSION: install new holochain version and copy its binary to the tauri path
cargo install --locked --git https://github.com/guillemcordoba/holochain.git --rev f4873057ac7318fb6897690b78a4d82968253a4d holochain
$HcPath = Get-Command holochain | Select-Object -ExpandProperty Definition
Copy-Item $HcPath -Destination src-tauri/bins/holochain-v0.0.139-x86_64-pc-windows-msvc.exe
- name: download caddy (MacOS only)
if: matrix.platform == 'macos-10.15'
run: |
Expand Down Expand Up @@ -96,6 +96,10 @@ jobs:
HOLOCHAIN_PATH=$(which holochain)
cp $HOLOCHAIN_PATH src-tauri/bins/holochain-v0.0.136-x86_64-apple-darwin
cargo install --locked --git https://github.com/guillemcordoba/holochain.git --rev f4873057ac7318fb6897690b78a4d82968253a4d holochain
HOLOCHAIN_PATH=$(which holochain)
cp $HOLOCHAIN_PATH src-tauri/bins/holochain-v0.0.139-x86_64-apple-darwin
# NEW_VERSION: install new holochain version and copy its binary to the tauri path
- name: install dependencies (ubuntu only)
Expand Down Expand Up @@ -140,6 +144,10 @@ jobs:
HOLOCHAIN_PATH=$(which holochain)
cp $HOLOCHAIN_PATH src-tauri/bins/holochain-v0.0.136-x86_64-unknown-linux-gnu
cargo install --locked --git https://github.com/guillemcordoba/holochain.git --rev f4873057ac7318fb6897690b78a4d82968253a4d holochain
HOLOCHAIN_PATH=$(which holochain)
cp $HOLOCHAIN_PATH src-tauri/bins/holochain-v0.0.139-x86_64-unknown-linux-gnu
# NEW_VERSION: install new holochain version and copy its binary to the tauri path
- name: build the app
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ jobs:
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-stable.list
sudo apt update
sudo apt install caddy
- name: fetch DevHub
run: |
curl -L --output DevHub.webhapp https://github.com/holochain/launcher/releases/download/v0.3.9/DevHub.webhapp
- name: install Holochain
run: |
mkdir src-tauri/bins
Expand Down Expand Up @@ -64,5 +62,9 @@ jobs:
# NEW_VERSION: install new holochain version and copy its binary to the tauri path
cargo install --locked --git https://github.com/guillemcordoba/holochain.git --rev f4873057ac7318fb6897690b78a4d82968253a4d holochain
HOLOCHAIN_PATH=$(which holochain)
cp $HOLOCHAIN_PATH src-tauri/bins/holochain-v0.0.139-x86_64-unknown-linux-gnu
- name: install app dependencies and build it
run: npm install && npm run build
Loading

0 comments on commit b721840

Please sign in to comment.