Skip to content

Commit

Permalink
The runner context doesn't exist outside the steps section
Browse files Browse the repository at this point in the history
  • Loading branch information
pepeiborra committed Oct 25, 2021
1 parent c5240fa commit 225b5ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
needs: pre_job
runs-on: ${{ matrix.os }}
env:
XDG_CACHE_HOME: ${{ runner.temp }}/cache
strategy:
fail-fast: true
matrix:
Expand Down Expand Up @@ -141,8 +140,9 @@ jobs:
src/**/*.hs exe/*.hs
# this is only safe if the test environment is isolated
- name: clean ide cache
- name: setup ide cache
run: |
export XDG_CACHE_HOME=$RUNNER_TEMP/cache
rm -rf ~/.cache/ghcide
rm -rf ~/.cache/hie-bios
rm -rf $XDG_CACHE_HOME/ghcide
Expand Down

0 comments on commit 225b5ae

Please sign in to comment.