From fdd88a7e1a94e4dd7742f9c27db81293e5f751fb Mon Sep 17 00:00:00 2001 From: FTCHD <144691102+FTCHD@users.noreply.github.com> Date: Sat, 16 Aug 2025 16:10:33 +0100 Subject: [PATCH] Create release-linux-arm.yml --- .github/workflows/release-linux-arm.yml | 56 +++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 .github/workflows/release-linux-arm.yml diff --git a/.github/workflows/release-linux-arm.yml b/.github/workflows/release-linux-arm.yml new file mode 100644 index 0000000..5fbf224 --- /dev/null +++ b/.github/workflows/release-linux-arm.yml @@ -0,0 +1,56 @@ +name: 'release-linux' + +on: + workflow_dispatch + +jobs: + release-linux: + permissions: + contents: write + strategy: + fail-fast: false + matrix: + include: + - platform: 'ubuntu-22.04-arm' + args: '' + + runs-on: ${{ matrix.platform }} + steps: + - uses: actions/checkout@v4 + + - name: setup node + uses: actions/setup-node@v4 + with: + node-version: lts/* + cache: 'npm' + + - name: install Rust stable + uses: dtolnay/rust-toolchain@stable + + - name: Rust cache + uses: swatinem/rust-cache@v2 + with: + workspaces: './src-tauri -> target' + + - name: install dependencies (ubuntu only) + run: | + sudo apt-get update + sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf + + - name: install frontend dependencies + run: npm install + + - uses: tauri-apps/tauri-action@v0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + # for updates + TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }} + TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }} + with: + tagName: v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version. + releaseName: 'v__VERSION__' + releaseBody: 'See the assets to download this version and install.' + releaseDraft: true + prerelease: false + args: ${{ matrix.args }}