From 4399d88ebe55ba84aadfdcd87b967729a50c89b1 Mon Sep 17 00:00:00 2001 From: wwqgtxx Date: Thu, 5 Mar 2026 08:44:10 +0800 Subject: [PATCH] action: Upgrade loongarch golang version --- .github/workflows/build.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 21276161..140cac48 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -171,12 +171,13 @@ jobs: go-version: ${{ matrix.jobs.goversion }} check-latest: true # Always check for the latest patch release - - name: Set up Go1.25 loongarch abi1 + - name: Set up Go1.26 loongarch abi1 if: ${{ matrix.jobs.goarch == 'loong64' && matrix.jobs.abi == '1' }} run: | - wget -q https://github.com/MetaCubeX/loongarch64-golang/releases/download/1.25.5/go1.25.5.linux-amd64-abi1.tar.gz - sudo tar zxf go1.25.5.linux-amd64-abi1.tar.gz -C /usr/local - echo "/usr/local/go/bin" >> $GITHUB_PATH + wget -q https://github.com/MetaCubeX/loongarch64-golang/releases/download/1.26.0/go1.26.0.linux-amd64-abi1.tar.gz + mkdir -p $HOME/usr/local + tar zxf go1.26.0.linux-amd64-abi1.tar.gz -C $HOME/usr/local + echo "$HOME/usr/local/go/bin" >> $GITHUB_PATH # this patch file only works on golang1.26.x # that means after golang1.27 release it must be changed