File tree Expand file tree Collapse file tree 9 files changed +29
-21
lines changed
Expand file tree Collapse file tree 9 files changed +29
-21
lines changed Original file line number Diff line number Diff line change 55 using : " composite"
66 steps :
77 - name : Download the prerequisites bin
8- uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
8+ uses : actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
99 with :
1010 name : prerequisites-bin
1111 path : bin
1919 run : rm bin/executables.txt
2020
2121 - name : Download schema-embed.json
22- uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
22+ uses : actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
2323 with :
2424 # Use a pattern to avoid failing if the artifact doesn't exist
2525 pattern : schema-embed.*
Original file line number Diff line number Diff line change 66 steps :
77
88 - name : Download pulumi-resource-cockroach
9- uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
9+ uses : actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
1010 with :
1111 pattern : pulumi-resource-cockroach-*-linux-amd64.tar.gz
1212 path : ${{ github.workspace }}/bin
Original file line number Diff line number Diff line change 1010 using : " composite"
1111 steps :
1212 - name : Download ${{ inputs.language }} SDK
13- uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
13+ uses : actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
1414 with :
1515 name : ${{ inputs.language }}-sdk.tar.gz
1616 path : ${{ github.workspace}}/sdk/
Original file line number Diff line number Diff line change 4747
4848 - name : Install Pulumi CLI
4949 if : inputs.tools == 'all' || contains(inputs.tools, 'pulumicli')
50- uses : pulumi/actions@3da56e6feff8f5db8b48d3a396bc10ef1f968088 # v6
50+ uses : pulumi/actions@9519177da243fd32cab35cdbf19cce1ab7472fcc # v6
5151 with :
5252 pulumi-version : " dev"
5353
Original file line number Diff line number Diff line change 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
1326jobs :
1427 build_provider :
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
Original file line number Diff line number Diff line change 5050 - name : golangci-lint
5151 uses : golangci/golangci-lint-action@2226d7cb06a077cd73e56eedd38eecad18e5d837 # v6
5252 with :
53- version : v1.60
53+ version : v1.64.6
5454 working-directory : provider
Original file line number Diff line number Diff line change 7272 - name : Unit-test provider code
7373 run : make test_provider
7474 - name : Upload coverage reports to Codecov
75- uses : codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # v5.3.1
75+ uses : codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0
7676 env :
7777 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
7878 - if : inputs.is_pr
Original file line number Diff line number Diff line change @@ -61,14 +61,14 @@ jobs:
6161 - name : Create dist directory
6262 run : mkdir -p dist
6363 - name : Download provider assets
64- uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
64+ uses : actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
6565 with :
6666 pattern : pulumi-resource-cockroach-v${{ inputs.version }}-*
6767 path : dist
6868 # Don't create a directory for each artifact
6969 merge-multiple : true
7070 - name : Download schema
71- uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
71+ uses : actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
7272 with :
7373 # Use a pattern to avoid failing if the artifact doesn't exist
7474 pattern : schema-embed.*
Original file line number Diff line number Diff line change 5454 secrets : inherit
5555 with :
5656 version : ${{ needs.prerequisites.outputs.version }}
57+ matrix : |
58+ {
59+ "platform": [
60+ {"os": "linux", "arch": "amd64"},
61+ ]
62+ }
5763
5864 build_sdk :
5965 if : github.event_name == 'repository_dispatch' ||
You can’t perform that action at this time.
0 commit comments