Skip to content

Commit

Permalink
Specify working-directory in GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
aarkue committed Mar 16, 2024
1 parent 3b389ef commit 5e1d493
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/tauri-build-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:

jobs:
release:
defaults:
run:
working-directory: ./tauri
permissions:
contents: write
strategy:
Expand Down Expand Up @@ -42,7 +45,7 @@ jobs:

- name: Install frontend dependencies
# If you don't have `beforeBuildCommand` configured you may want to build your frontend here too.
run: npm install # Change this to npm, yarn or pnpm.
run: cd ./tauri && npm install # Change this to npm, yarn or pnpm.

- name: Build the app
uses: tauri-apps/tauri-action@v0
Expand All @@ -55,5 +58,5 @@ jobs:
releaseBody: 'See the assets to download and install this version.'
releaseDraft: true
prerelease: false
projectPath: './tauri'
projectPath: '.'

0 comments on commit 5e1d493

Please sign in to comment.