Skip to content

Commit

Permalink
ci: cache correct static folder
Browse files Browse the repository at this point in the history
  • Loading branch information
thecristen committed Nov 14, 2023
1 parent dbafedb commit 9efbf65
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/actions/build-app/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ runs:
with:
path: |
_build
apps/site/assets/static
apps/site/priv
apps/site/react_renderer/dist/app.js
key: ci-application-cache-${{ github.sha }}
id: build-cache
Expand All @@ -25,6 +25,6 @@ runs:
- name: Compile application (if needed)
shell: bash
run: |
mix compile.assets
mix compile --all-warnings
MIX_ENV=test mix compile.assets
MIX_ENV=test mix compile --all-warnings
if: steps.build-cache.outputs.cache-hit != 'true'
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
with:
path: |
_build
apps/site/assets/static
apps/site/priv
apps/site/react_renderer/dist/app.js
key: ci-application-cache-${{ github.sha }}
- env:
Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:
with:
path: |
_build
apps/site/assets/static
apps/site/priv
apps/site/react_renderer/dist/app.js
key: ci-application-cache-${{ github.sha }}
- uses: mbta/setup-chromedriver@master
Expand Down

0 comments on commit 9efbf65

Please sign in to comment.