Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix: Only pnpm install in apps/desktop, also create dummy .env file

Richie McIlroyef18e2581895
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index e514d560f..6f8283da6 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