Skip to content

Commit

Permalink
Fix build failure on windows due to 8.3 filename
Browse files Browse the repository at this point in the history
See actions/runner-images#712
for details.
  • Loading branch information
fhs committed Jun 9, 2020
1 parent 804e2ff commit be22285
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ jobs:
- name: Test on windows
if: matrix.platform == 'windows-latest'
run: |
# 8.3 filenames causes issues. See
# https://github.com/actions/virtual-environments/issues/712
set TMP=%USERPROFILE%\AppData\Local\Temp
set TEMP=%USERPROFILE%\AppData\Local\Temp
$Env:path += ";C:\Users\runneradmin\go\bin"
go test -race -v ./...
Expand Down

0 comments on commit be22285

Please sign in to comment.