Skip to content

Commit

Permalink
readd cache
Browse files Browse the repository at this point in the history
  • Loading branch information
roryc89 committed Apr 14, 2021
1 parent 72bf8f2 commit df678d7
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,23 @@ jobs:
psa: "0.7.2"
spago: "0.19.1"

# - name: Cache PureScript dependencies
# uses: actions/cache@v2
# # This cache uses the .dhall files to know when it should reinstall
# # and rebuild packages. It caches both the installed packages from
# # the `.spago` directory and compilation artifacts from the `output`
# # directory. When restored the compiler will rebuild any files that
# # have changed. If you do not want to cache compiled output, remove
# # the `output` path.
# with:
# key: ${{ runner.os }}-spago-${{ hashFiles('**/*.dhall') }}
# path: |
# .spago
# output
# examples/1-simple/.spago
# examples/1-simple/output
# examples/2-codegen/.spago
# examples/2-codegen/output
- name: Cache PureScript dependencies
uses: actions/cache@v2
# This cache uses the .dhall files to know when it should reinstall
# and rebuild packages. It caches both the installed packages from
# the `.spago` directory and compilation artifacts from the `output`
# directory. When restored the compiler will rebuild any files that
# have changed. If you do not want to cache compiled output, remove
# the `output` path.
with:
key: ${{ runner.os }}-spago-${{ hashFiles('**/*.dhall') }}
path: |
.spago
output
examples/1-simple/.spago
examples/1-simple/output
examples/2-codegen/.spago
examples/2-codegen/output
- run: spago build
- run: npm i
- run: npm run bundle
Expand Down

0 comments on commit df678d7

Please sign in to comment.