From ce09220708fa88378e85a194076575bf0f74b5a2 Mon Sep 17 00:00:00 2001 From: xeovalyte Date: Fri, 27 Oct 2023 10:40:29 +0200 Subject: [PATCH 1/9] Update .gitea/workflows/workflow.yml --- .gitea/workflows/workflow.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/workflow.yml b/.gitea/workflows/workflow.yml index daf8eae..59c2c34 100644 --- a/.gitea/workflows/workflow.yml +++ b/.gitea/workflows/workflow.yml @@ -28,13 +28,6 @@ jobs: - name: install frontend dependencies run: npm install # change this to npm or pnpm depending on which one you use working-directory: ./toos-dashboard - - uses: tauri-apps/tauri-action@v0 + - run: cargo tauri build working-directory: ./toos-dashboard - env: - GITHUB_TOKEN: ${{ secrets.TOKEN }} - with: - tagName: app-v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version - releaseName: 'App v__VERSION__' - releaseBody: 'See the assets to download this version and install.' - releaseDraft: true - prerelease: false + \ No newline at end of file From 9670bed8e8f2263d9dea70a3d44e6c028da4ca73 Mon Sep 17 00:00:00 2001 From: xeovalyte Date: Fri, 27 Oct 2023 12:45:30 +0200 Subject: [PATCH 2/9] Update .gitea/workflows/workflow.yml --- .gitea/workflows/workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/workflow.yml b/.gitea/workflows/workflow.yml index 59c2c34..1138978 100644 --- a/.gitea/workflows/workflow.yml +++ b/.gitea/workflows/workflow.yml @@ -28,6 +28,6 @@ jobs: - name: install frontend dependencies run: npm install # change this to npm or pnpm depending on which one you use working-directory: ./toos-dashboard - - run: cargo tauri build + - run: npm run tauri build working-directory: ./toos-dashboard \ No newline at end of file From d713becd6899b4a1894a39de2ed93c0ba806202b Mon Sep 17 00:00:00 2001 From: xeovalyte Date: Fri, 27 Oct 2023 12:51:45 +0200 Subject: [PATCH 3/9] Update .gitea/workflows/workflow.yml --- .gitea/workflows/workflow.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitea/workflows/workflow.yml b/.gitea/workflows/workflow.yml index 1138978..acd4200 100644 --- a/.gitea/workflows/workflow.yml +++ b/.gitea/workflows/workflow.yml @@ -30,4 +30,13 @@ jobs: working-directory: ./toos-dashboard - run: npm run tauri build working-directory: ./toos-dashboard + - name: Publish release + working-directory: ./toos-dashboard + id: use-go-action + uses: https://gitea.com/actions/release-action@main + working-directory: ./toos-dashboard + with: + files: |- + src-tauri/target/release/bundle/appimage/*.AppImage + api_key: '${{secrets.TOKEN}}' \ No newline at end of file From 5ed82d0fca7a0751487b67dbf37c2fa559ce4863 Mon Sep 17 00:00:00 2001 From: xeovalyte Date: Fri, 27 Oct 2023 12:52:02 +0200 Subject: [PATCH 4/9] Update .gitea/workflows/workflow.yml --- .gitea/workflows/workflow.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitea/workflows/workflow.yml b/.gitea/workflows/workflow.yml index acd4200..e495681 100644 --- a/.gitea/workflows/workflow.yml +++ b/.gitea/workflows/workflow.yml @@ -30,8 +30,7 @@ jobs: working-directory: ./toos-dashboard - run: npm run tauri build working-directory: ./toos-dashboard - - name: Publish release - working-directory: ./toos-dashboard + - name: Publish release id: use-go-action uses: https://gitea.com/actions/release-action@main working-directory: ./toos-dashboard From 13b669ce22814de63e4eaea9ddff724c443e987b Mon Sep 17 00:00:00 2001 From: xeovalyte Date: Fri, 27 Oct 2023 13:02:08 +0200 Subject: [PATCH 5/9] Update .gitea/workflows/workflow.yml --- .gitea/workflows/workflow.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitea/workflows/workflow.yml b/.gitea/workflows/workflow.yml index e495681..59ce965 100644 --- a/.gitea/workflows/workflow.yml +++ b/.gitea/workflows/workflow.yml @@ -25,6 +25,10 @@ jobs: run: | apt-get update 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 run: npm install # change this to npm or pnpm depending on which one you use working-directory: ./toos-dashboard From 3c2053dc85f3e0f7900f56c8f600cd9a96bc03c6 Mon Sep 17 00:00:00 2001 From: xeovalyte Date: Fri, 27 Oct 2023 13:16:43 +0200 Subject: [PATCH 6/9] Update .gitea/workflows/workflow.yml --- .gitea/workflows/workflow.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/workflow.yml b/.gitea/workflows/workflow.yml index 59ce965..a4d67f1 100644 --- a/.gitea/workflows/workflow.yml +++ b/.gitea/workflows/workflow.yml @@ -25,21 +25,14 @@ jobs: run: | apt-get update 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 run: npm install # change this to npm or pnpm depending on which one you use working-directory: ./toos-dashboard - run: npm run tauri build working-directory: ./toos-dashboard - - name: Publish release - id: use-go-action - uses: https://gitea.com/actions/release-action@main + - uses: actions/upload-artifact@v3 working-directory: ./toos-dashboard with: - files: |- - src-tauri/target/release/bundle/appimage/*.AppImage - api_key: '${{secrets.TOKEN}}' + name: Appimage + path: assets/src-tauri/target/release/bundle/appimage/*.AppImage \ No newline at end of file From b13e97ba6a0592b8a3e8227fe7101de12fa8bfa5 Mon Sep 17 00:00:00 2001 From: xeovalyte Date: Fri, 27 Oct 2023 13:22:23 +0200 Subject: [PATCH 7/9] Update .gitea/workflows/workflow.yml --- .gitea/workflows/workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/workflow.yml b/.gitea/workflows/workflow.yml index a4d67f1..f96b7c4 100644 --- a/.gitea/workflows/workflow.yml +++ b/.gitea/workflows/workflow.yml @@ -34,5 +34,5 @@ jobs: working-directory: ./toos-dashboard with: name: Appimage - path: assets/src-tauri/target/release/bundle/appimage/*.AppImage + path: src-tauri/target/release/bundle/appimage/*.AppImage \ No newline at end of file From ff7f0f2e968d643e8266843e55d164b545ffd6ee Mon Sep 17 00:00:00 2001 From: xeovalyte Date: Fri, 27 Oct 2023 14:04:28 +0200 Subject: [PATCH 8/9] Update .gitea/workflows/workflow.yml --- .gitea/workflows/workflow.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitea/workflows/workflow.yml b/.gitea/workflows/workflow.yml index f96b7c4..6bdd78b 100644 --- a/.gitea/workflows/workflow.yml +++ b/.gitea/workflows/workflow.yml @@ -31,8 +31,7 @@ jobs: - run: npm run tauri build working-directory: ./toos-dashboard - uses: actions/upload-artifact@v3 - working-directory: ./toos-dashboard with: name: Appimage - path: src-tauri/target/release/bundle/appimage/*.AppImage + path: toos-dashboard/src-tauri/target/release/bundle/appimage/*.AppImage \ No newline at end of file From 1a760adcfde2766e63d061b6ee3bba19803b834a Mon Sep 17 00:00:00 2001 From: xeovalyte Date: Fri, 27 Oct 2023 14:22:38 +0200 Subject: [PATCH 9/9] Update .gitea/workflows/workflow.yml --- .gitea/workflows/workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/workflow.yml b/.gitea/workflows/workflow.yml index 6bdd78b..6509f92 100644 --- a/.gitea/workflows/workflow.yml +++ b/.gitea/workflows/workflow.yml @@ -32,6 +32,6 @@ jobs: working-directory: ./toos-dashboard - uses: actions/upload-artifact@v3 with: - name: Appimage + name: toos-dashboard.AppImage path: toos-dashboard/src-tauri/target/release/bundle/appimage/*.AppImage \ No newline at end of file