diff --git a/.github/workflows/windows-nightly.yml b/.github/workflows/windows-nightly.yml index 205ea0f49..af0c2074e 100644 --- a/.github/workflows/windows-nightly.yml +++ b/.github/workflows/windows-nightly.yml @@ -55,7 +55,12 @@ jobs: key: ${{ runner.os }}-appdata-roaming-stack-${{ hashFiles('**.yaml') }} restore-keys: ${{ runner.os }}-appdata-roaming-stack - - name: Cache stack local programs dir + - name: showStuff + shell: bash + run: | + ls -lFRa /c/users/runneradmin/appdata/roaming/stack + + - name: Cache stack programs dir # ghc, ghc-included packages and their haddocks, mingw, msys2 id: stack-programs-dir uses: actions/cache@v1 with: @@ -65,11 +70,10 @@ jobs: key: ${{ runner.os }}-appdata-local-programs-stack-${{ hashFiles('**.yaml') }} restore-keys: ${{ runner.os }}-appdata-local-programs-stack - - name: showStuff - shell: bash - run: | - #ls -lFRa /c/users/runneradmin/appdata/roaming/stack - ls -lFRa /c/users/runneradmin/appdata/local/programs/stack + # - name: showStuff + # shell: bash + # run: | + # ls -lFRa /c/users/runneradmin/appdata/local/programs/stack # stack's local package dbs for the project and each package - name: Cache .stack-work @@ -121,7 +125,7 @@ jobs: stack --version - name: Install GHC - if: steps.stack-programs-dir.outputs.cache-hit != 'true' + # if: steps.stack-programs-dir.outputs.cache-hit != 'true' # set PATH=C:\Users\runneradmin\AppData\Local\Programs\stack\local\bin;%PATH% run: | stack --no-terminal setup --install-ghc @@ -131,11 +135,10 @@ jobs: # - shelltest --version - name: Install haskell deps - if: steps.stack-global-package-db.outputs.cache-hit != 'true' run: | stack --no-terminal build --only-dependencies - - name: Build hledger + - name: Build hledger executables run: | stack --no-terminal install --ghc-options=-Werror