File tree Expand file tree Collapse file tree 14 files changed +55
-40
lines changed Expand file tree Collapse file tree 14 files changed +55
-40
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-aws
9- uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
9+ uses : actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
1010 with :
1111 pattern : pulumi-resource-aws-*-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@13b8b7177d6fb736766875dac9b78aab07bd785f # 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 run : find bin -type f -executable > bin/executables.txt
1010
1111 - name : Upload prerequisites bin
12- uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
12+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
1313 with :
1414 name : prerequisites-bin
1515 path : bin/*
1616 retention-days : 30
1717
1818 - name : Upload schema-embed.json
19- uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
19+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
2020 with :
2121 name : schema-embed.json
2222 path : provider/cmd/pulumi-resource-aws/schema-embed.json
Original file line number Diff line number Diff line change 1313 shell : bash
1414 run : tar -zcf sdk/${{ inputs.language }}.tar.gz -C sdk/${{ inputs.language }} .
1515 - name : Upload artifacts
16- uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
16+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
1717 with :
1818 name : ${{ inputs.language }}-sdk.tar.gz
1919 path : ${{ github.workspace}}/sdk/${{ inputs.language }}.tar.gz
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 # Run as first step so we don't delete things that have just been installed
3638 - name : Free Disk Space (Ubuntu)
9799 run : make provider_dist-${{ matrix.platform.os }}-${{ matrix.platform.arch }}
98100
99101 - name : Upload artifacts
100- uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
102+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
101103 with :
102104 name : pulumi-resource-aws-v${{ inputs.version }}-${{ matrix.platform.os }}-${{ matrix.platform.arch }}.tar.gz
103105 path : bin/pulumi-resource-aws-v${{ inputs.version }}-${{ matrix.platform.os }}-${{ matrix.platform.arch }}.tar.gz
Original file line number Diff line number Diff line change 6060 submodules : true
6161 persist-credentials : false
6262 - name : Cache examples generation
63- uses : actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4
63+ uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4
6464 with :
6565 path : |
6666 .pulumi/examples-cache
Original file line number Diff line number Diff line change 5454 - name : golangci-lint
5555 uses : golangci/golangci-lint-action@2226d7cb06a077cd73e56eedd38eecad18e5d837 # v6
5656 with :
57- version : v1.60
57+ version : v1.64.6
5858 working-directory : provider
Original file line number Diff line number Diff line change 6565 major-version : 6
6666 set-env : ' PROVIDER_VERSION'
6767 - name : Cache examples generation
68- uses : actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4
68+ uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4
6969 with :
7070 path : |
7171 .pulumi/examples-cache
8383 - name : Unit-test provider code
8484 run : make test_provider
8585 - name : Upload coverage reports to Codecov
86- uses : codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # v5.3.1
86+ uses : codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0
8787 env :
8888 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
8989 - if : inputs.is_pr
You can’t perform that action at this time.
0 commit comments