Skip to content

Commit

Permalink
feat: add appVersion to dummy .env file creation
Browse files Browse the repository at this point in the history
  • Loading branch information
richiemcilroy committed Mar 18, 2024
1 parent 22f2e7b commit 7048cf2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,14 @@ jobs:
- name: Install dependencies
run: cd apps/desktop && pnpm install

- name: Get app version
id: get_version
run: echo "appVersion=$(jq -r '.version' apps/desktop/package.json)" >> $GITHUB_OUTPUT

- name: Create .env file
run: |
echo "NEXT_PUBLIC_URL=${{ secrets.NEXT_PUBLIC_URL }}" > apps/desktop/.env
echo "appVersion=${{ steps.get_version.outputs.appVersion }}" >> apps/desktop/.env
- name: Build the app
uses: tauri-apps/tauri-action@v0
Expand Down

1 comment on commit 7048cf2

@vercel
Copy link

@vercel vercel bot commented on 7048cf2 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.