From 580c0c25acd308a3e9db68a37ebc18667d0bdcce Mon Sep 17 00:00:00 2001 From: zongz <68977949+zong-zhe@users.noreply.github.com> Date: Wed, 11 Dec 2024 17:56:37 +0800 Subject: [PATCH] fix: fix ci (#1785) Signed-off-by: zongz --- .github/workflows/macos_test.yaml | 2 +- .github/workflows/ubuntu_test.yaml | 2 +- .github/workflows/windows_test.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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"