Skip to content

Commit

Permalink
Avoid error accessing env var
Browse files Browse the repository at this point in the history
  • Loading branch information
jneira committed Dec 19, 2021
1 parent 4ec227b commit c854db2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:

- name: Ensure CABAL_DIR environment variable is set
run: |
set +euo
set +e +u
[ -v $CABAL_DIR ] && echo "CABAL_DIR: $CABAL_DIR"
[ -v $CABAL_DIR ] || CABAL_DIR="~/.cabal"
echo "CABAL_DIR=$CABAL_DIR" >> $GITHUB_ENV
Expand Down

0 comments on commit c854db2

Please sign in to comment.