Update .gitea/workflows/workflow.yml
All checks were successful
publish / publish-tauri (ubuntu-20.04) (push) Successful in 4m6s

This commit is contained in:
xeovalyte 2023-10-27 13:16:43 +02:00
parent 13b669ce22
commit 3c2053dc85

View File

@ -25,21 +25,14 @@ jobs:
run: | run: |
apt-get update apt-get update
apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf libasound2-dev libudev-dev apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf libasound2-dev libudev-dev
- name: setup go
uses: https://github.com/actions/setup-go@v4
with:
go-version: '>=1.20.1'
- name: install frontend dependencies - name: install frontend dependencies
run: npm install # change this to npm or pnpm depending on which one you use run: npm install # change this to npm or pnpm depending on which one you use
working-directory: ./toos-dashboard working-directory: ./toos-dashboard
- run: npm run tauri build - run: npm run tauri build
working-directory: ./toos-dashboard working-directory: ./toos-dashboard
- name: Publish release - uses: actions/upload-artifact@v3
id: use-go-action
uses: https://gitea.com/actions/release-action@main
working-directory: ./toos-dashboard working-directory: ./toos-dashboard
with: with:
files: |- name: Appimage
src-tauri/target/release/bundle/appimage/*.AppImage path: assets/src-tauri/target/release/bundle/appimage/*.AppImage
api_key: '${{secrets.TOKEN}}'