summaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 83ee4c04e..8c9c84698 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -149,6 +149,11 @@ jobs:
steps:
- uses: actions/checkout@v3
+ # x=$x exports the envvar to GitHub Actions' scope.
+ - name: Set up environment variables
+ run: |
+ echo "APPDATA=$APPDATA" >> $GITHUB_ENV
+
# declare/restore cached things
- name: Cache cabal global package db
@@ -156,7 +161,7 @@ jobs:
uses: actions/cache@v3
with:
path: |
- %AppData%\Roaming\cabal\store
+ ${{ env.APPDATA }}/cabal/store
key: ${{ runner.os }}-appdata-roaming-cabal-${{ hashFiles('cabal.project') }}-${{ secrets.CACHE_VERSION }}
- name: Cache cabal work