mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-11-27 01:15:07 +03:00
CI: Always save cache, even on failure
This commit is contained in:
parent
a41aa8407a
commit
a5b69e8c94
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
@ -114,8 +114,8 @@ jobs:
|
||||
cabal user-config update -a "extra-include-dirs: \"\""
|
||||
cabal user-config update -a "extra-lib-dirs: \"\""
|
||||
|
||||
- uses: actions/cache@v2
|
||||
name: Cache cabal store
|
||||
- uses: actions/cache/restore@v3
|
||||
name: Restore cache store cache
|
||||
with:
|
||||
path: |
|
||||
${{ steps.setup-haskell.outputs.cabal-store }}
|
||||
@ -238,6 +238,16 @@ jobs:
|
||||
if-no-files-found: error
|
||||
retention-days: ${{ needs.config.outputs.retention-days }}
|
||||
|
||||
- uses: actions/cache/save@v3
|
||||
name: Save cache store cache
|
||||
if: always()
|
||||
with:
|
||||
path: |
|
||||
${{ steps.setup-haskell.outputs.cabal-store }}
|
||||
dist-newstyle
|
||||
key: ${{ env.CACHE_VERSION }}-cabal-${{ matrix.os }}-${{ matrix.ghc-version }}-${{ hashFiles(format('cabal.GHC-{0}.config', matrix.ghc-version)) }}-${{ github.sha }}
|
||||
${{ env.CACHE_VERSION }}-cabal-${{ matrix.os }}-${{ matrix.ghc-version }}-${{ hashFiles(format('cabal.GHC-{0}.config', matrix.ghc-version)) }}-
|
||||
|
||||
test:
|
||||
runs-on: ${{ matrix.os }}
|
||||
needs: [build]
|
||||
|
Loading…
Reference in New Issue
Block a user