Desktop workflow
Backend docker image / release-image (push) Successful in 10m5s
Details
Frontend and backend docker image / release-image (push) Successful in 15m7s
Details
Tauri based desktop app / publish-tauri-desktop (push) Successful in 5m4s
Details
Frontend docker image / release-image (push) Successful in 3m37s
Details
Backend docker image / release-image (push) Successful in 10m5s
Details
Frontend and backend docker image / release-image (push) Successful in 15m7s
Details
Tauri based desktop app / publish-tauri-desktop (push) Successful in 5m4s
Details
Frontend docker image / release-image (push) Successful in 3m37s
Details
This commit is contained in:
parent
dc2a9b0f05
commit
374b8424d0
|
@ -0,0 +1,55 @@
|
||||||
|
name: Tauri based desktop app
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- "v*"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
publish-tauri-desktop:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: catthehacker/ubuntu:act-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Extract tag
|
||||||
|
uses: olegtarasov/get-tag@v2.1.2
|
||||||
|
id: tagName
|
||||||
|
with:
|
||||||
|
tagRegex: "v(.*)"
|
||||||
|
|
||||||
|
- name: Set up node
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 20
|
||||||
|
|
||||||
|
- name: Install Rust stable
|
||||||
|
uses: dtolnay/rust-toolchain@stable
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y libwebkit2gtk-4.0-dev libgtk-3-dev libappindicator3-dev librsvg2-dev patchelf
|
||||||
|
|
||||||
|
- name: Install frontend dependencies
|
||||||
|
run: |
|
||||||
|
cd frontend
|
||||||
|
npm install
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
- name: Build desktop app
|
||||||
|
run: |
|
||||||
|
cd frontend
|
||||||
|
npm run tauri build
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
- name: Publish desktop app
|
||||||
|
uses: akkuman/gitea-release-action@v1
|
||||||
|
with:
|
||||||
|
name: Focus ${{ steps.tagName.outputs.tag }}
|
||||||
|
files: |-
|
||||||
|
frontend/src-tauri/target/release/focus
|
||||||
|
frontend/src-tauri/target/release/bundle/deb/*.deb
|
||||||
|
frontend/src-tauri/target/release/bundle/appimage/*.AppImage
|
|
@ -8,7 +8,7 @@
|
||||||
},
|
},
|
||||||
"package": {
|
"package": {
|
||||||
"productName": "Focus",
|
"productName": "Focus",
|
||||||
"version": "0.1.0"
|
"version": "0.3.0"
|
||||||
},
|
},
|
||||||
"tauri": {
|
"tauri": {
|
||||||
"allowlist": {
|
"allowlist": {
|
||||||
|
|
Loading…
Reference in New Issue