-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from holochain-apps/p2p_shipyard
p2p-shipyard integration & fixes for android
- Loading branch information
Showing
132 changed files
with
24,003 additions
and
1,440 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 |
---|---|---|
@@ -0,0 +1,71 @@ | ||
name: "release-tauri-app" | ||
on: | ||
push: | ||
tags: | ||
- 'v[0-9]+.[0-9]+.[0-9]+' | ||
|
||
jobs: | ||
release-tauri-app: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
platform: [windows-2019, macos-11, ubuntu-22.04] | ||
env: | ||
MACOSX_DEPLOYMENT_TARGET: 10.13 | ||
|
||
runs-on: $ | ||
steps: | ||
- name: Support longpaths | ||
if: matrix.platform != 'ubuntu-22.04' | ||
run: git config --system core.longpaths true | ||
|
||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
# Checks out a copy of your repository on the ubuntu-latest machine | ||
- uses: actions/checkout@v2 | ||
|
||
- name: setup node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 20 | ||
- 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 dependencies (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 \ | ||
file \ | ||
libssl-dev \ | ||
libgtk-3-dev \ | ||
libayatana-appindicator3-dev \ | ||
librsvg2-dev \ | ||
javascriptcoregtk-4.1 \ | ||
libsoup-3.0 \ | ||
webkit2gtk-4.1 | ||
- name: Install and prepare | ||
run: | | ||
npm install | ||
- name: build the app | ||
uses: tauri-apps/tauri-action@v0 | ||
env: | ||
GITHUB_TOKEN: $ | ||
with: | ||
projectPath: src-tauri | ||
tagName: v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version | ||
releaseName: "Kando v__VERSION__" | ||
releaseBody: "See assets below to download and install this version." | ||
releaseDraft: true | ||
prerelease: true |
Oops, something went wrong.