diff --git a/.github/workflows/macos_test.yaml b/.github/workflows/macos_test.yaml index 96502779c..3be0f9236 100644 --- a/.github/workflows/macos_test.yaml +++ b/.github/workflows/macos_test.yaml @@ -33,7 +33,7 @@ jobs: - name: Install KCL CLI run: | - go install kcl-lang.io/cli/cmd/kcl@main + go install kcl-lang.io/cli/cmd/kcl@c5ecdd12a97ca836a34744cd2f4d561eaae381ff echo "$(go env GOPATH)/bin" >> $GITHUB_PATH echo "${{ github.workspace }}/go/bin" >> $GITHUB_PATH diff --git a/.github/workflows/ubuntu_test.yaml b/.github/workflows/ubuntu_test.yaml index de8fbc61d..90baece76 100644 --- a/.github/workflows/ubuntu_test.yaml +++ b/.github/workflows/ubuntu_test.yaml @@ -57,7 +57,7 @@ jobs: shell: bash - name: Install KCL CLI run: | - go install kcl-lang.io/cli/cmd/kcl@main + go install kcl-lang.io/cli/cmd/kcl@c5ecdd12a97ca836a34744cd2f4d561eaae381ff echo "$(go env GOPATH)/bin" >> $GITHUB_PATH echo "${{ github.workspace }}/go/bin" >> $GITHUB_PATH - name: Unit test diff --git a/.github/workflows/windows_test.yaml b/.github/workflows/windows_test.yaml index b55178641..2f8addeb5 100644 --- a/.github/workflows/windows_test.yaml +++ b/.github/workflows/windows_test.yaml @@ -34,7 +34,7 @@ jobs: - name: Install KCL shell: powershell run: | - go install kcl-lang.io/cli/cmd/kcl@main + go install kcl-lang.io/cli/cmd/kcl@c5ecdd12a97ca836a34744cd2f4d561eaae381ff $GoPath = go env GOPATH $GoInstallBin = Join-Path $GoPath "bin" $Env:PATH += ";$GoInstallBin"