From 503f50afa31fefd7f8d8bac1a7baea4d8b1cd829 Mon Sep 17 00:00:00 2001 From: zongzhe Date: Fri, 18 Apr 2025 23:31:46 +0800 Subject: [PATCH 1/2] fix: add linux arm64 artifact Signed-off-by: zongzhe --- .github/workflows/ubuntu_arm_test.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/ubuntu_arm_test.yaml b/.github/workflows/ubuntu_arm_test.yaml index 784898190..12741ad0e 100644 --- a/.github/workflows/ubuntu_arm_test.yaml +++ b/.github/workflows/ubuntu_arm_test.yaml @@ -67,4 +67,20 @@ jobs: working-directory: ./kclvm run: export PATH=$PATH:$PWD/../_build/dist/linux/kclvm/bin && make test shell: bash + + - name: Release + run: export PATH=$PATH:$PWD/../_build/dist/darwin/kclvm/bin && make release + shell: bash + + - name: Read VERSION file + id: read_version + run: | + VERSION=$(cat VERSION) + echo "VERSION=v${VERSION}" >> $GITHUB_ENV + + - uses: actions/upload-artifact@v4 + with: + name: kcl-${{ env.VERSION }}-linux-arm64 + if-no-files-found: error + path: _build/kclvm-${{ env.VERSION }}-linux-arm64.tar.gz From bb6ceb2f9922c0f6774c81336d8a9864c0df955e Mon Sep 17 00:00:00 2001 From: zongz Date: Sat, 19 Apr 2025 00:49:49 +0800 Subject: [PATCH 2/2] fix: fix typo darwin to linux Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: zongzhe --- .github/workflows/ubuntu_arm_test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ubuntu_arm_test.yaml b/.github/workflows/ubuntu_arm_test.yaml index 12741ad0e..d74645bd7 100644 --- a/.github/workflows/ubuntu_arm_test.yaml +++ b/.github/workflows/ubuntu_arm_test.yaml @@ -69,7 +69,7 @@ jobs: shell: bash - name: Release - run: export PATH=$PATH:$PWD/../_build/dist/darwin/kclvm/bin && make release + run: export PATH=$PATH:$PWD/../_build/dist/linux/kclvm/bin && make release shell: bash - name: Read VERSION file