Skip to content

Commit

Permalink
Disable Stack caching.
Browse files Browse the repository at this point in the history
I don't know why this is breaking things, but it seems to be.
  • Loading branch information
SamirTalwar committed Aug 14, 2020
1 parent a0c5bd0 commit 8873e18
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ jobs:
- run: nix-instantiate shell.nix | cachix push samirtalwar
env:
CACHIX_SIGNING_KEY: ${{ secrets.CACHIX_SIGNING_KEY }}
- uses: actions/cache@v2
with:
path: ~/.stack
key: v1-${{ matrix.os }}-stack-${{ hashFiles('stack.yaml') }}-${{ hashFiles('package.yaml') }}
# - uses: actions/cache@v2
# with:
# path: ~/.stack
# key: v1-${{ matrix.os }}-stack-${{ hashFiles('stack.yaml') }}-${{ hashFiles('package.yaml') }}
- uses: actions/download-artifact@v1
with:
name: release_upload_url
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ jobs:
fi
env:
CACHIX_SIGNING_KEY: ${{ secrets.CACHIX_SIGNING_KEY }}
- uses: actions/cache@v2
with:
path: ~/.stack
key: v1-${{ matrix.os }}-stack-${{ hashFiles('stack.yaml') }}-${{ hashFiles('package.yaml') }}
# - uses: actions/cache@v2
# with:
# path: ~/.stack
# key: v1-${{ matrix.os }}-stack-${{ hashFiles('stack.yaml') }}-${{ hashFiles('package.yaml') }}
- run: |
mkdir -p ~/.stack
cat > ~/.stack/config.yaml <<EOF
Expand All @@ -57,10 +57,10 @@ jobs:
- uses: cachix/cachix-action@v6
with:
name: samirtalwar
- uses: actions/cache@v2
with:
path: ~/.stack
key: v1-${{ matrix.os }}-stack-${{ hashFiles('stack.yaml') }}-${{ hashFiles('package.yaml') }}
# - uses: actions/cache@v2
# with:
# path: ~/.stack
# key: v1-${{ matrix.os }}-stack-${{ hashFiles('stack.yaml') }}-${{ hashFiles('package.yaml') }}
- run: |
mkdir -p ~/.stack
cat > ~/.stack/config.yaml <<EOF
Expand Down

0 comments on commit 8873e18

Please sign in to comment.