We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e00bda commit 281703dCopy full SHA for 281703d
.github/workflows/ci.yml
@@ -23,6 +23,9 @@ jobs:
23
ghc-version: ${{ matrix.ghc }}
24
cabal-version: latest
25
26
+ - name: Set LIBTORCH_HOME
27
+ run: echo "LIBTORCH_HOME=$HOME/.cache/libtorch" >> $GITHUB_ENV
28
+
29
- name: Configure
30
run: |
31
cat > cabal.project <<EOF
@@ -38,7 +41,9 @@ jobs:
38
41
- name: Cache
39
42
uses: actions/cache@v4
40
43
with:
- path: ${{ steps.setup.outputs.cabal-store }}
44
+ path: |
45
+ ${{ steps.setup.outputs.cabal-store }}
46
+ ${{ env.LIBTORCH_HOME }}
47
key: ${{ runner.os }}-ghc-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }}
48
restore-keys: ${{ runner.os }}-ghc-${{ matrix.ghc }}-
49
0 commit comments