Skip to content

Commit

Permalink
fix cache
Browse files Browse the repository at this point in the history
  • Loading branch information
MXWXZ committed Sep 14, 2024
1 parent aad2355 commit 92d35f5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@ jobs:
with:
node-version: 20
cache: "yarn"
cache-dependency-path: skynet/frontend/yarn.lock
- run: yarn
working-directory: skynet/frontend
- run: yarn build
working-directory: skynet/frontend
cache-dependency-path: "**/yarn.lock"
- name: Build assets
shell: bash
run: |
make static
make static_plugin
build_skynet:
needs: build_frontend
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/plugin_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
node-version: 20
cache: "yarn"
cache-dependency-path: plugin/**/yarn.lock
cache-dependency-path: "**/yarn.lock"
- name: Build assets
shell: bash
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
node-version: 20
cache: "yarn"
cache-dependency-path: skynet/frontend/yarn.lock
cache-dependency-path: "**/yarn.lock"
- name: Build assets
shell: bash
run: |
Expand Down

0 comments on commit 92d35f5

Please sign in to comment.