diff --git a/.github/workflows/releaser.yml b/.github/workflows/releaser.yml index 1326214a..c84df660 100644 --- a/.github/workflows/releaser.yml +++ b/.github/workflows/releaser.yml @@ -27,6 +27,8 @@ jobs: - name: Build id: build shell: cmd + env: + GOPATH: C:\Users\runneradmin\go run: | for /f "tokens=3" %%a in ('findstr /r "Number.*=.*[0-9.]*" .\pkg\version\version.go') do set VERSION=%%a echo version=%VERSION:"=%>>%GITHUB_OUTPUT% diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1172f27a..9ea1b3c2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -39,6 +39,8 @@ jobs: - name: Build shell: cmd + env: + GOPATH: C:\Users\runneradmin\go run: build.bat - name: Upload