Skip to content

Commit

Permalink
fix: Only pnpm install in apps/desktop, also create dummy .env file
Browse files Browse the repository at this point in the history
  • Loading branch information
richiemcilroy committed Mar 18, 2024
1 parent 5f3bbea commit ef18e25
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- release

jobs:
publish-tauri:
cap-desktop-release:
permissions:
contents: write
strategy:
Expand Down Expand Up @@ -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
Expand Down

1 comment on commit ef18e25

@vercel
Copy link

@vercel vercel bot commented on ef18e25 Mar 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.