Skip to content

Commit d2261cf

Browse files
authored
Update GitHub Actions workflows. (#1092)
This PR was automatically generated by the update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt repo, from commit d77004611f0044baca1f99589d312808cfa72d60.
1 parent 63656cd commit d2261cf

File tree

2 files changed

+20
-12
lines changed

2 files changed

+20
-12
lines changed

.github/workflows/build_provider.yml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,19 @@ on:
99
required: true
1010
type: string
1111
description: Version of the provider to build
12+
matrix:
13+
required: false
14+
type: string
15+
default: |
16+
{
17+
"platform": [
18+
{"os": "linux", "arch": "amd64"},
19+
{"os": "linux", "arch": "arm64"},
20+
{"os": "darwin", "arch": "amd64"},
21+
{"os": "darwin", "arch": "arm64"},
22+
{"os": "windows", "arch": "amd64"}
23+
]
24+
}
1225
1326
jobs:
1427
build_provider:
@@ -19,18 +32,7 @@ jobs:
1932
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2033
strategy:
2134
fail-fast: true
22-
matrix:
23-
platform:
24-
- os: linux
25-
arch: amd64
26-
- os: linux
27-
arch: arm64
28-
- os: darwin
29-
arch: amd64
30-
- os: darwin
31-
arch: arm64
32-
- os: windows
33-
arch: amd64
35+
matrix: ${{ fromJSON(inputs.matrix) }}
3436
steps:
3537
- name: Checkout Repo
3638
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

.github/workflows/run-acceptance-tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ jobs:
5656
secrets: inherit
5757
with:
5858
version: ${{ needs.prerequisites.outputs.version }}
59+
matrix: |
60+
{
61+
"platform": [
62+
{"os": "linux", "arch": "amd64"},
63+
]
64+
}
5965
6066
build_sdk:
6167
if: github.event_name == 'repository_dispatch' ||

0 commit comments

Comments
 (0)