From 44b7afc06ba4eba0dcb7c88bfee6f749ea989e12 Mon Sep 17 00:00:00 2001 From: Maycon Santos Date: Sun, 9 Apr 2023 00:58:15 +0200 Subject: [PATCH] use cmd --- .github/workflows/golang-test-windows.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/golang-test-windows.yml b/.github/workflows/golang-test-windows.yml index 800f2c941..851a80b0d 100644 --- a/.github/workflows/golang-test-windows.yml +++ b/.github/workflows/golang-test-windows.yml @@ -44,7 +44,7 @@ jobs: - run: PsExec64 -s -w ${{ github.workspace }} C:\hostedtoolcache\windows\go\${{ steps.go.outputs.go-version }}\x64\bin\go.exe env -w GOCACHE=C:\Users\runneradmin\AppData\Local\go-build - name: test - run: PsExec64 -s -w ${{ github.workspace }} C:\hostedtoolcache\windows\go\${{ steps.go.outputs.go-version }}\x64\bin\go.exe test -timeout 5m -p 1 -v ./iface/... > test-out.txt 2>&1 + run: PsExec64 -s -w ${{ github.workspace }} cmd.exe /c "C:\hostedtoolcache\windows\go\${{ steps.go.outputs.go-version }}\x64\bin\go.exe test -timeout 5m -p 1 -v ./iface/... > test-out.txt 2>&1" - name: test output if: ${{ always() }} run: Get-Content test-out.txt \ No newline at end of file