From e5eb399eee39b16701703986f20ff890cb1782ab Mon Sep 17 00:00:00 2001 From: Nicola Spadari Date: Tue, 18 Jun 2024 17:00:33 +0200 Subject: [PATCH] Update release action --- .github/workflows/release.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d430003..b9cf797 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,11 +3,7 @@ name: "publish" on: push: branches: - - release - -# This is the example from the readme. -# On each push to the `release` branch it will create or update a GitHub release, build your app, and upload the artifacts to the release. - + - main jobs: publish-tauri: permissions: @@ -20,7 +16,7 @@ jobs: args: "--target aarch64-apple-darwin" - platform: "macos-latest" # for Intel based macs. args: "--target x86_64-apple-darwin" - - platform: "ubuntu-22.04" # for Tauri v1 you could replace this with ubuntu-20.04. + - platform: "ubuntu-22.04" args: "" - platform: "windows-latest" args: "" @@ -41,21 +37,20 @@ jobs: targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }} - name: install dependencies (ubuntu only) - if: matrix.platform == 'ubuntu-22.04' # This must match the platform value defined above. + if: matrix.platform == 'ubuntu-22.04' run: | sudo apt-get update 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. - # You can remove the one that doesn't apply to your app to speed up the workflow a bit. - name: install frontend dependencies - run: pnpm install # change this to npm, pnpm or bun depending on which one you use. + run: pnpm install - uses: tauri-apps/tauri-action@v0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tagName: app-v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version. + tagName: nuxtor-v__VERSION__ releaseName: "Nuxtor v__VERSION__" releaseBody: "Choose a bundle generated from the Tauri build for your system" releaseDraft: true