diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 73b9fbd3d..48afddd5a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -74,9 +74,7 @@ jobs: run: | HOME="${{ (runner.os == 'Windows' && '$(cygpath -m ~)') || '$HOME' }}" mkdir -p "$STACK_ROOT" - { cat /etc/stack/config.yaml 2>/dev/null || true; - echo; - echo "extra-include-dirs:"; + { echo "extra-include-dirs:"; echo "- $HOME/.local/include"; echo "$EXTRA_INCLUDE_WIN"; echo; @@ -91,7 +89,7 @@ jobs: "$SKIP_MSYS" && echo "skip-msys: true" || true } >> "$STACK_ROOT/config.yaml" cat "$STACK_ROOT/config.yaml" - echo "STACK_ROOT=${STACK_ROOT/#\~/$HOME}" >> "$GITHUB_ENV" + echo "STACK_CONFIG=${STACK_ROOT/#\~/$HOME}/config.yaml" >> "$GITHUB_ENV" env: STACK_ROOT: ${{ steps.stack.outputs.stack-root || '~/.stack' }} EXTRA_INCLUDE_WIN: ${{ (runner.os == 'Windows' && '- C:/msys64/clang64/include') || '' }}