From ef18e2581895ddfdbb90b48b4647ce24a3d10602 Mon Sep 17 00:00:00 2001 From: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Mon, 18 Mar 2024 18:24:11 +0000 Subject: [PATCH] fix: Only pnpm install in apps/desktop, also create dummy .env file --- .github/workflows/main.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e514d560..6f8283da 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,7 +5,7 @@ on: - release jobs: - publish-tauri: + cap-desktop-release: permissions: contents: write strategy: @@ -40,7 +40,11 @@ jobs: version: latest - name: Install dependencies - run: pnpm install + run: cd apps/desktop && pnpm install + + - name: Create .env file + run: | + echo "NEXT_PUBLIC_URL=${{ secrets.NEXT_PUBLIC_URL }}" > apps/desktop/.env - name: Build the app uses: tauri-apps/tauri-action@v0