ci(release test):output sysroot

This commit is contained in:
luoliwoshang
2025-09-03 19:30:07 +08:00
parent da319e2a7c
commit 6ba182afc7

View File

@@ -62,10 +62,6 @@ jobs:
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version: 1.24.x go-version: 1.24.x
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
image: tonistiigi/binfmt:qemu-v7.0.0-28
- name: Restore Macos sysroot cache - name: Restore Macos sysroot cache
id: cache-macos-sysroot id: cache-macos-sysroot
uses: actions/cache/restore@v4 uses: actions/cache/restore@v4
@@ -78,6 +74,13 @@ jobs:
with: with:
path: .sysroot/linux path: .sysroot/linux
key: linux-sysroot-${{ hashFiles('.github/workflows/populate_linux_sysroot.sh') }}-0.0.1 key: linux-sysroot-${{ hashFiles('.github/workflows/populate_linux_sysroot.sh') }}-0.0.1
- name: Check .sysroot
run: |
ls -la .sysroot
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
image: tonistiigi/binfmt:qemu-v7.0.0-28
- name: Run GoReleaser (Build & Test) - name: Run GoReleaser (Build & Test)
env: env:
GITHUB_TOKEN: ${{github.token}} GITHUB_TOKEN: ${{github.token}}