-
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.
- Loading branch information
1 parent
0741e4a
commit e1d1bcf
Showing
2 changed files
with
4 additions
and
82 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 |
---|---|---|
|
@@ -66,7 +66,7 @@ jobs: | |
include: | ||
- platform: 'macos-latest' # for Arm based macs (M1 and above). | ||
- platform: 'macos-13' # for Intel based macs. | ||
# - platform: 'ubuntu-22.04' # for Tauri v1 you could replace this with ubuntu-20.04. | ||
- platform: 'ubuntu-22.04' # for Tauri v1 you could replace this with ubuntu-20.04. | ||
env: | ||
MACOSX_DEPLOYMENT_TARGET: 10.13 | ||
|
||
|
@@ -130,84 +130,6 @@ jobs: | |
releaseDraft: true | ||
prerelease: true | ||
|
||
release-tauri-app-linux: | ||
needs: publish-happ | ||
permissions: write-all | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- platform: 'ubuntu-22.04' # for Tauri v1 you could replace this with ubuntu-20.04. | ||
|
||
runs-on: ${{ matrix.platform }} | ||
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: Extend space | ||
if: matrix.platform == 'ubuntu-22.04' | ||
uses: ./.github/actions/extend-space | ||
|
||
- name: install dependencies (ubuntu only) | ||
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: setup node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 20 | ||
|
||
- name: install Rust stable | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
override: true | ||
toolchain: 1.77.2 | ||
|
||
- name: install Go stable | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: "stable" | ||
|
||
- name: Install and prepare | ||
run: | | ||
npm install | ||
- name: Download release of the .happ | ||
uses: robinraju/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
releaseId: ${{ needs.publish-happ.outputs.releaseId }} | ||
fileName: 'relay.happ' | ||
out-file-path: 'workdir/' | ||
|
||
- name: build the app | ||
uses: tauri-apps/tauri-action@v0 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
releaseId: ${{ needs.publish-happ.outputs.releaseId }} | ||
releaseDraft: true | ||
prerelease: true | ||
|
||
release-tauri-app-windows: | ||
permissions: write-all | ||
needs: publish-happ | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.