diff --git a/.github/workflows/windows_test.yaml b/.github/workflows/windows_test.yaml index c2304e89e..90f434542 100644 --- a/.github/workflows/windows_test.yaml +++ b/.github/workflows/windows_test.yaml @@ -19,13 +19,7 @@ jobs: go-version: 1.23 - name: Install KCL - shell: powershell - run: | - go install kcl-lang.io/cli/cmd/kcl@latest - $GoPath = go env GOPATH - $GoInstallBin = Join-Path $GoPath "bin" - $Env:PATH += ";$GoInstallBin" - $Env:PATH += ";${{ github.workspace }}\go\bin" + run: go install kcl-lang.io/cli/cmd/kcl@main - uses: ilammy/msvc-dev-cmd@v1