Fix release CI
This commit is contained in:
27
.github/workflows/release.yml
vendored
27
.github/workflows/release.yml
vendored
@@ -1,9 +1,9 @@
|
|||||||
name: "publish"
|
name: publish
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
jobs:
|
jobs:
|
||||||
publish-tauri:
|
publish-tauri:
|
||||||
permissions:
|
permissions:
|
||||||
@@ -12,13 +12,13 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- platform: "macos-latest" # for Arm based macs (M1 and above).
|
- platform: macos-latest # for Arm based macs.
|
||||||
args: "--target aarch64-apple-darwin"
|
args: --target aarch64-apple-darwin
|
||||||
- platform: "macos-latest" # for Intel based macs.
|
- platform: macos-latest # for Intel based macs.
|
||||||
args: "--target x86_64-apple-darwin"
|
args: --target x86_64-apple-darwin
|
||||||
- platform: "ubuntu-22.04"
|
- platform: ubuntu-22.04
|
||||||
args: ""
|
args: ""
|
||||||
- platform: "windows-latest"
|
- platform: windows-latest
|
||||||
args: ""
|
args: ""
|
||||||
|
|
||||||
runs-on: ${{ matrix.platform }}
|
runs-on: ${{ matrix.platform }}
|
||||||
@@ -43,6 +43,11 @@ jobs:
|
|||||||
sudo apt-get install -y libwebkit2gtk-4.0-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
|
sudo apt-get install -y libwebkit2gtk-4.0-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
|
||||||
# webkitgtk 4.0 is for Tauri v1 - webkitgtk 4.1 is for Tauri v2.
|
# webkitgtk 4.0 is for Tauri v1 - webkitgtk 4.1 is for Tauri v2.
|
||||||
|
|
||||||
|
- name: Setup pnpm
|
||||||
|
uses: pnpm/action-setup@v4
|
||||||
|
with:
|
||||||
|
version: 9.3.0
|
||||||
|
|
||||||
- name: install frontend dependencies
|
- name: install frontend dependencies
|
||||||
run: pnpm install
|
run: pnpm install
|
||||||
|
|
||||||
@@ -51,8 +56,8 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
tagName: nuxtor-v__VERSION__
|
tagName: nuxtor-v__VERSION__
|
||||||
releaseName: "Nuxtor v__VERSION__"
|
releaseName: Nuxtor v__VERSION__
|
||||||
releaseBody: "Choose a bundle generated from the Tauri build for your system"
|
releaseBody: Choose a bundle generated from the Tauri build for your system
|
||||||
releaseDraft: true
|
releaseDraft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
args: ${{ matrix.args }}
|
args: ${{ matrix.args }}
|
||||||
|
Reference in New Issue
Block a user