Skip to content

Commit

Permalink
Update GitHub Actions workflow to correct working directory and impro…
Browse files Browse the repository at this point in the history
…ve caching
  • Loading branch information
waveyboym committed Nov 23, 2024
1 parent ef18ec9 commit b7a90c2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

defaults:
run:
working-directory: muzik-offline
working-directory: ./muzik-offline # Navigate to the correct directory for all steps

jobs:
publish-tauri:
Expand Down Expand Up @@ -42,6 +42,7 @@ jobs:
with:
node-version: lts/*
cache: 'npm' # Set this to npm, yarn or pnpm.
cache-dependency-path: './muzik-offline/package-lock.json' # Change this to your lock file path.

- name: install Rust stable
uses: dtolnay/rust-toolchain@stable # Set this to dtolnay/rust-toolchain@nightly
Expand All @@ -56,7 +57,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 or pnpm depending on which one you use.
run: npm ci # change this to npm or pnpm depending on which one you use.

- name: Install OpenSSL
run: |
Expand Down

0 comments on commit b7a90c2

Please sign in to comment.