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

fixed link of latest stable release #1085

fixed link of latest stable release

fixed link of latest stable release #1085

Workflow file for this run

name: "test"
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
jobs:
testbuild:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: setup node
uses: actions/setup-node@v1
with:
node-version: 16
- name: install Rust stable
uses: actions-rs/toolchain@v1
with:
override: true
toolchain: stable
- name: install Go stable
uses: actions/setup-go@v4
with:
go-version: "stable"
- name: install webkit2gtk (ubuntu only)
run: |
sudo apt-get update
sudo apt-get install libwebkit2gtk-4.0-dev \
build-essential \
curl \
wget \
file \
libssl-dev \
libgtk-3-dev \
libayatana-appindicator3-dev \
librsvg2-dev
- name: install Holochain
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 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
# NEW_VERSION: install new holochain version and copy its binary to the tauri path
- name: install app dependencies and build it
run: npm install && npm run build
env:
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY_0_2 }}
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
holochain_cli_launch:
strategy:
fail-fast: false
matrix:
platform: [macos-latest, ubuntu-22.04]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2
- name: install Go stable
uses: actions/setup-go@v4
with:
go-version: "stable"
- name: install webkit2gtk (ubuntu only)
if: matrix.platform == 'ubuntu-22.04'
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev
- name: install holochain_cli_launch to make sure it compiles
run: cargo install --path crates/hc_launch/src-tauri