mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-03-07 15:09:56 +00:00
action: Upgrade loongarch golang version
This commit is contained in:
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user