Skip to content

Commit

Permalink
attempt to understand gha
Browse files Browse the repository at this point in the history
  • Loading branch information
grantnelson-wf committed Jun 13, 2024
1 parent 983e914 commit a6dc1f0
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/windows-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ env:
SOURCE_MAP_SUPPORT: false
GOPATH: ${{ github.workspace }}/go
GOPHERJS_PATH: ${{ github.workspace }}/go/src/github.com/${{ github.repository }}
# Fix TEMP variable, see https://github.com/actions/runner-images/issues/712#issuecomment-613004302
TEMP: "%USERPROFILE%\\AppData\\Local\\Temp"
TMP: "%USERPROFILE%\\AppData\\Local\\Temp"
TMPDIR: "%USERPROFILE%\\AppData\\Local\\Temp"

jobs:
tests:
Expand All @@ -35,8 +31,14 @@ jobs:
- uses: actions/checkout@v3
- name: Set up environment
run: |
# Fix TEMP variable, see https://github.com/actions/runner-images/issues/712#issuecomment-613004302
echo "TEMP=$env:USERPROFILE\AppData\Local\Temp" >> $env:GITHUB_ENV
echo "TMP=$env:USERPROFILE\AppData\Local\Temp" >> $env:GITHUB_ENV
echo "TMPDIR=$env:USERPROFILE\AppData\Local\Temp" >> $env:GITHUB_ENV
# Make nodejs able to require installed modules from any working path.
echo "NODE_PATH=$(npm root)" >> $GITHUB_ENV
echo ::notice::$(npm root)
echo ::notice::$(go version)
echo ::notice::$(node -v)
Expand Down

0 comments on commit a6dc1f0

Please sign in to comment.