Skip to content

Commit

Permalink
fix(ci): fix cache path
Browse files Browse the repository at this point in the history
  • Loading branch information
SARDONYX-sard committed Nov 16, 2023
1 parent 4c1c877 commit fbf2808
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dev-release-gui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
with:
path: |
~/.npm
${{ github.workspace }}/.next/cache
${{ github.workspace }}/frontend//.next/cache
# Generate a new cache whenever packages or source files change.
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}
# If source files changed but packages didn't, rebuild from a prior cache.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
with:
path: |
~/.npm
${{ github.workspace }}/.next/cache
${{ github.workspace }}/frontend/.next/cache
# Generate a new cache whenever packages or source files change.
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}
# If source files changed but packages didn't, rebuild from a prior cache.
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
shell: bash
if: runner.os == 'macOS'
run: tar -czvf ./build/g_dar2oar-${{ runner.os}}.tar.gz ./target/release/g_dar2oar ./target/release/dar2oar
- name: Compress outputs(Unix)
- name: Compress outputs(Linux)
shell: bash
if: runner.os == 'Linux'
# NOTE: Linux was excluded because the location of the GUI could not be identified.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-gui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
with:
path: |
~/.npm
${{ github.workspace }}/.next/cache
${{ github.workspace }}/frontend//.next/cache
# Generate a new cache whenever packages or source files change.
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}
# If source files changed but packages didn't, rebuild from a prior cache.
Expand Down

0 comments on commit fbf2808

Please sign in to comment.