FEAT: Gitea action CI workflow
All checks were successful
publish / publish-tauri (, ubuntu-22.04) (push) Successful in 4m28s

This commit is contained in:
valerio 2026-03-14 22:20:02 +01:00
parent 34743ba280
commit e6708907f4

View File

@ -3,7 +3,7 @@ name: 'publish'
on: on:
push: push:
branches: branches:
- release - master
# This workflow will trigger on each push to the `release` branch to create or update a GitHub release, build your app, and upload the artifacts to the release. # This workflow will trigger on each push to the `release` branch to create or update a GitHub release, build your app, and upload the artifacts to the release.
@ -15,12 +15,8 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
include: include:
- platform: 'macos-latest' # for Arm based macs (M1 and above).
args: '--target aarch64-apple-darwin'
- platform: 'ubuntu-22.04' - platform: 'ubuntu-22.04'
args: '' args: ''
- platform: 'windows-latest'
args: ''
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}
steps: steps:
@ -38,12 +34,13 @@ jobs:
if: matrix.platform == 'ubuntu-22.04' # This must match the platform value defined above. if: matrix.platform == 'ubuntu-22.04' # This must match the platform value defined above.
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf cmake xdg-utils
- name: install frontend dependencies - name: install frontend dependencies
run: bun install # change this to npm, pnpm or bun depending on which one you use. run: bun install # change this to npm, pnpm or bun depending on which one you use.
- uses: tauri-apps/tauri-action@v1 - name: build tauri packages and release
uses: ValerioMeschi/tauri-action@9f8b32da04b4d228756d93dc93b9f16869e4f105
env: env:
GITHUB_TOKEN: ${{ secrets.SMOOTHIE_TOKEN }} GITHUB_TOKEN: ${{ secrets.SMOOTHIE_TOKEN }}
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }} TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
@ -55,3 +52,5 @@ jobs:
releaseDraft: true releaseDraft: true
prerelease: false prerelease: false
args: ${{ matrix.args }} args: ${{ matrix.args }}
githubBaseUrl: https://git.floatingpoint.ch/api/v1
isGitea: true