Skip to content

Commit b48f566

Browse files
committed
action: new way install loongarch abi1 toolchain
1 parent 809aee8 commit b48f566

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,10 @@ jobs:
173173

174174
- name: Set up Go1.26 loongarch abi1
175175
if: ${{ matrix.jobs.goarch == 'loong64' && matrix.jobs.abi == '1' }}
176-
run: |
177-
wget -q https://github.com/MetaCubeX/loongarch64-golang/releases/download/1.26.0/go1.26.0.linux-amd64-abi1.tar.gz
178-
mkdir -p $HOME/usr/local
179-
tar zxf go1.26.0.linux-amd64-abi1.tar.gz -C $HOME/usr/local
180-
echo "$HOME/usr/local/go/bin" >> $GITHUB_PATH
176+
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c
177+
with:
178+
go-download-base-url: 'https://github.com/MetaCubeX/loongarch64-golang/releases/download/1.26.0'
179+
go-version: 1.26.0
181180

182181
# TODO: remove after issue77731 fixed, see: https://github.com/golang/go/issues/77731
183182
- name: Fix issue77731 for Golang1.26

0 commit comments

Comments
 (0)