Skip to content

Commit

Permalink
[ ci ]
Browse files Browse the repository at this point in the history
  • Loading branch information
banacorn committed Nov 5, 2024
1 parent 33bfbd0 commit c51ce14
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,14 @@ jobs:
- name: 🔍 Setting variables
run: |
echo "stack-local-bin=$(stack path --local-bin)" >> "$GITHUB_ENV"
echo "stack-root = ${{ steps.haskell-setup.outputs.stack-root }}" >> "$GITHUB_ENV"
echo "stack-root=${{ steps.haskell-setup.outputs.stack-root }}" >> "$GITHUB_ENV"
echo "STACK_ROOT=${{ steps.haskell-setup.outputs.stack-root }}" >> "$GITHUB_ENV"
- name: 🔍 Resetting stack-root on Windows
if: runner.os == 'Windows'
run: |
echo "stack-root=$APPDATA/stack" >> "$GITHUB_ENV"
echo "STACK_ROOT=$APPDATA/stack" >> "$GITHUB_ENV"
- name: 🔍 Reviewing variables
run: |
Expand All @@ -55,8 +57,10 @@ jobs:
echo "ghc-exe = ${{ steps.haskell-setup.outputs.ghc-exe }}"
echo "stack-path = ${{ steps.haskell-setup.outputs.stack-path }}"
echo "stack-exe = ${{ steps.haskell-setup.outputs.stack-exe }}"
echo "stack-root (orig) = ${{ steps.haskell-setup.outputs.stack-root }}"
echo "STACK_ROOT = $STACK_ROOT"
echo "stack-root = $stack-root"
echo "stack-root = ${{ env.stack-root }}"
echo "stack-root (orig) = ${{ steps.haskell-setup.outputs.stack-root }}"
echo "stack-local-bin = ${{ env.stack-local-bin }}"
# cached stuff to be restored:
Expand Down

0 comments on commit c51ce14

Please sign in to comment.