.github/workflows: filter out environment variables for Windows

This commit is contained in:
Hajime Hoshi 2023-01-20 21:48:08 +09:00
parent b065f53a67
commit 125dc1ab8c

View File

@ -143,6 +143,7 @@ jobs:
- name: go test (Wasm) - name: go test (Wasm)
run: | run: |
${{ runner.os == 'Windows' && 'unset $(env | awk -F= "{print $1}" | grep -v -x -e "^(PATH|TEMP|TMP)$")' || '' }}
env GOOS=js GOARCH=wasm go test -shuffle=on -v ./... env GOOS=js GOARCH=wasm go test -shuffle=on -v ./...
env GOOS=js GOARCH=wasm EBITENGINE_OPENGL=webgl1 go test -shuffle=on -v ./... env GOOS=js GOARCH=wasm EBITENGINE_OPENGL=webgl1 go test -shuffle=on -v ./...