From 5e1d4934091d290e4907d0cde2f2f667418af5d2 Mon Sep 17 00:00:00 2001 From: aarkue Date: Sat, 16 Mar 2024 23:30:42 +0100 Subject: [PATCH] Specify working-directory in GH action --- .github/workflows/tauri-build-app.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tauri-build-app.yml b/.github/workflows/tauri-build-app.yml index 596ef0d..0afe7e0 100644 --- a/.github/workflows/tauri-build-app.yml +++ b/.github/workflows/tauri-build-app.yml @@ -7,6 +7,9 @@ on: jobs: release: + defaults: + run: + working-directory: ./tauri permissions: contents: write strategy: @@ -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 @@ -55,5 +58,5 @@ jobs: releaseBody: 'See the assets to download and install this version.' releaseDraft: true prerelease: false - projectPath: './tauri' + projectPath: '.'