From 00bf13945be19091318f836ecafea6cb6b6df013 Mon Sep 17 00:00:00 2001 From: pratikshinde590 Date: Mon, 30 Sep 2024 18:35:21 +0530 Subject: [PATCH] added workflow feat/web-app-testing [] --- .github/workflows/feat-sparrow-refactoring.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/feat-sparrow-refactoring.yaml b/.github/workflows/feat-sparrow-refactoring.yaml index 8edf4dba8..4a833def8 100644 --- a/.github/workflows/feat-sparrow-refactoring.yaml +++ b/.github/workflows/feat-sparrow-refactoring.yaml @@ -1,4 +1,4 @@ -name: feat/sparrow-refactoring +name: feat/web-app-testing on: push: @@ -42,17 +42,19 @@ jobs: - name: Update updater endpoint in tauri.conf.json file run: | - $content = Get-Content src-tauri/tauri.conf.json -Raw + $content = Get-Content apps/@sparrow-desktop/src-tauri/tauri.conf.json -Raw $newContent = $content -replace '"https://{{UPDATER_URL}}/updater/{{target}}/{{arch}}/{{current_version}}"', '"https://${{ secrets.UPDATER_ENDPOINT_DEV }}/updater/{{target}}/{{arch}}/{{current_version}}"' - Set-Content -Path src-tauri/tauri.conf.json -Value $newContent + Set-Content -Path apps/@sparrow-desktop/src-tauri/tauri.conf.json -Value $newContent shell: pwsh + - name: Build Tauri App run: | yarn cache clean npm install -g pnpm yarn install - yarn tauri build --debug + yarn desktop-build + # yarn tauri build --debug env: TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }} TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}