From e893e29243b3b76aab93d6a60efba6214ab4d522 Mon Sep 17 00:00:00 2001 From: Pulumi Bot Date: Sat, 8 Mar 2025 06:13:53 +0000 Subject: [PATCH] [internal] Update GitHub Actions workflow files --- .github/workflows/build_provider.yml | 26 ++++++++++++---------- .github/workflows/run-acceptance-tests.yml | 6 +++++ 2 files changed, 20 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build_provider.yml b/.github/workflows/build_provider.yml index e4226d62..7972d1f7 100644 --- a/.github/workflows/build_provider.yml +++ b/.github/workflows/build_provider.yml @@ -9,6 +9,19 @@ on: required: true type: string description: Version of the provider to build + matrix: + required: false + type: string + default: | + { + "platform": [ + {"os": "linux", "arch": "amd64"}, + {"os": "linux", "arch": "arm64"}, + {"os": "darwin", "arch": "amd64"}, + {"os": "darwin", "arch": "arm64"}, + {"os": "windows", "arch": "amd64"} + ] + } jobs: build_provider: @@ -19,18 +32,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} strategy: fail-fast: true - matrix: - platform: - - os: linux - arch: amd64 - - os: linux - arch: arm64 - - os: darwin - arch: amd64 - - os: darwin - arch: arm64 - - os: windows - arch: amd64 + matrix: ${{ fromJSON(inputs.matrix) }} steps: - name: Checkout Repo uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 diff --git a/.github/workflows/run-acceptance-tests.yml b/.github/workflows/run-acceptance-tests.yml index 332bba0a..911f19a6 100644 --- a/.github/workflows/run-acceptance-tests.yml +++ b/.github/workflows/run-acceptance-tests.yml @@ -54,6 +54,12 @@ jobs: secrets: inherit with: version: ${{ needs.prerequisites.outputs.version }} + matrix: | + { + "platform": [ + {"os": "linux", "arch": "amd64"}, + ] + } build_sdk: if: github.event_name == 'repository_dispatch' ||