Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e4f114c

Browse files
committed
add a mention for the LocalAppData Windows bug
1 parent 6788fa2 commit e4f114c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,15 @@ following `.gitattributes`:
141141
* -text
142142
```
143143

144+
* https://github.community/t5/GitHub-Actions/LocalAppData-unset-on-Windows-when-using-Actions-for-CI/m-p/31349
145+
146+
`GOCACHE` won't be accessible on Windows by default, since `%LocalAppData%`
147+
isn't defined. To temporarily work around the error below, set `GOCACHE`
148+
manually:
149+
150+
> build cache is required, but could not be located: GOCACHE is not defined and
151+
> %LocalAppData% is not defined
152+
144153
* https://github.community/t5/GitHub-Actions/TEMP-is-broken-on-Windows/m-p/30432/thread-id/427
145154

146155
`os.TempDir` on Windows will contain a short name, since `%TEMP%` also contains

0 commit comments

Comments
 (0)