ci: update golang to 1.25

Signed-off-by: sbwml <admin@cooluc.com>
This commit is contained in:
sbwml 2025-06-17 15:45:07 +08:00
parent bfb9fc00da
commit 9617c1ff2e

View File

@ -59,7 +59,7 @@ jobs:
sed -i '/golang-package/a \\tGO_PKG_DEFAULT_LDFLAGS:=-w -s -extldflags "-static"' openlist/Makefile sed -i '/golang-package/a \\tGO_PKG_DEFAULT_LDFLAGS:=-w -s -extldflags "-static"' openlist/Makefile
- name: Build - name: Build
uses: sbwml/openwrt-gh-action-sdk@go1.24 uses: sbwml/openwrt-gh-action-sdk@go1.25
env: env:
ARCH: ${{ matrix.arch }}-${{ matrix.sdk }} ARCH: ${{ matrix.arch }}-${{ matrix.sdk }}
FEEDNAME: packages_ci FEEDNAME: packages_ci
@ -75,6 +75,7 @@ jobs:
bin/packages/${{ matrix.arch }}/packages_ci/*.ipk bin/packages/${{ matrix.arch }}/packages_ci/*.ipk
- name: Create compress files - name: Create compress files
continue-on-error: true
run: | run: |
tar -zcvf ${{ matrix.sdk }}-${{ matrix.arch }}.tar.gz -C bin/packages/${{ matrix.arch }}/ packages_ci tar -zcvf ${{ matrix.sdk }}-${{ matrix.arch }}.tar.gz -C bin/packages/${{ matrix.arch }}/ packages_ci