From e6bbd81605233a4e1c2a2a436b57bdd02502601a Mon Sep 17 00:00:00 2001 From: shenlan Date: Tue, 20 May 2025 12:53:43 +0800 Subject: [PATCH] Update build-release.yml --- .github/workflows/build-release.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index bc47b4c5..ced33076 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -62,21 +62,22 @@ jobs: runs-on: ubuntu-latest strategy: matrix: + goos: [linux] os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04] - arch: [amd64] + goarch: [amd64, arm64] steps: - name: Download binary uses: actions/download-artifact@v4 with: - name: pulumigo-${{ matrix.os }}-${{ matrix.arch }} + name: pulumigo-${{ matrix.goos }}-${{ matrix.goarch }} path: test-dir - name: Extract and test CLI run: | cd test-dir - tar -xzf PulumiGo-${{ matrix.os }}-${{ matrix.arch }}.tar.gz - chmod +x PulumiGo-${{ matrix.os }}-${{ matrix.arch }} - ./PulumiGo-${{ matrix.os }}-${{ matrix.arch }} --help + tar -xzf PulumiGo-${{ matrix.goos }}-${{ matrix.goarch }}.tar.gz + chmod +x PulumiGo-${{ matrix.goos }}-${{ matrix.goarch }} + ./PulumiGo-${{ matrix.goos }}-${{ matrix.goarch }} --help publish-release: name: Publish Daily Release