From 5d419f86075c1abaf75b6e621cc6a2919e4f4b3f Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Fri, 6 Mar 2020 11:31:43 -0800 Subject: [PATCH] ;ci: github: windows tweaks --- .github/workflows/windows-ci.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/windows-ci.yml b/.github/workflows/windows-ci.yml index 45f26b59e..2fbe6376d 100644 --- a/.github/workflows/windows-ci.yml +++ b/.github/workflows/windows-ci.yml @@ -43,22 +43,16 @@ jobs: # cached things - - name: Cache ~/.stack + - name: Cache C:\Users\runneradmin\AppData\Roaming\Programs\stack\ uses: actions/cache@v1 with: - path: ~/.stack - key: ${{ runner.os }}-stack + path: C:\Users\runneradmin\AppData\Local\Roaming\stack\ + key: ${{ runner.os }}-appdata-stack - name: Cache C:\Users\runneradmin\AppData\Local\Programs\stack\ uses: actions/cache@v1 with: path: C:\Users\runneradmin\AppData\Local\Programs\stack\ - key: ${{ runner.os }}-appdata-stack - - - name: Cache $APPDATA/local/bin - uses: actions/cache@v1 - with: - path: $APPDATA/local/bin key: ${{ runner.os }}-local-bin - name: Cache .stack-work @@ -111,8 +105,10 @@ jobs: ls C:\Users\runneradmin\ ls C:\Users\runneradmin\AppData\ ls C:\Users\runneradmin\AppData\Local\ + ls C:\Users\runneradmin\AppData\Local\Programs\ ls C:\Users\runneradmin\AppData\LocalLow\ ls C:\Users\runneradmin\AppData\Roaming\ + ls C:\Users\runneradmin\AppData\Roaming\stack\ # - name: Install shelltestrunner # - if [[ ! -x ~/.local/bin/shelltest ]]; then stack install shelltestrunner-1.9; fi @@ -133,8 +129,10 @@ jobs: ls C:\Users\runneradmin\ ls C:\Users\runneradmin\AppData\ ls C:\Users\runneradmin\AppData\Local\ + ls C:\Users\runneradmin\AppData\Local\Programs\ ls C:\Users\runneradmin\AppData\LocalLow\ ls C:\Users\runneradmin\AppData\Roaming\ + ls C:\Users\runneradmin\AppData\Roaming\stack\ # run hledger-lib/hledger functional tests, skipping the ones for addons #- COLUMNS=80 stack exec -- shelltest --execdir -j16 tests -x /bin -x /addons