File tree Expand file tree Collapse file tree 20 files changed +54
-71
lines changed Expand file tree Collapse file tree 20 files changed +54
-71
lines changed Original file line number Diff line number Diff line change 5
5
using : " composite"
6
6
steps :
7
7
- name : Download provider + tfgen binaries
8
- uses : actions/download-artifact@v4
8
+ uses : actions/download-artifact@v4.1.8
9
9
with :
10
10
name : xyz-provider.tar.gz
11
11
path : ${{ github.workspace }}/bin
Original file line number Diff line number Diff line change 10
10
using : " composite"
11
11
steps :
12
12
- name : Download ${{ inputs.language }} SDK
13
- uses : actions/download-artifact@v4
13
+ uses : actions/download-artifact@v4.1.8
14
14
with :
15
15
name : ${{ inputs.language }}-sdk.tar.gz
16
16
path : ${{ github.workspace}}/sdk/
Original file line number Diff line number Diff line change 8
8
shell : bash
9
9
run : tar -zcf ${{ github.workspace }}/bin/provider.tar.gz -C ${{ github.workspace }}/bin/ pulumi-resource-xyz pulumi-tfgen-xyz
10
10
- name : Upload artifacts
11
- uses : actions/upload-artifact@v4
11
+ uses : actions/upload-artifact@v4.4.3
12
12
with :
13
13
name : xyz-provider.tar.gz
14
14
path : ${{ github.workspace }}/bin/provider.tar.gz
Original file line number Diff line number Diff line change 13
13
shell : bash
14
14
run : tar -zcf sdk/${{ inputs.language }}.tar.gz -C sdk/${{ inputs.language }} .
15
15
- name : Upload artifacts
16
- uses : actions/upload-artifact@v4
16
+ uses : actions/upload-artifact@v4.4.3
17
17
with :
18
18
name : ${{ inputs.language }}-sdk.tar.gz
19
19
path : ${{ github.workspace}}/sdk/${{ inputs.language }}.tar.gz
Original file line number Diff line number Diff line change 30
30
arch : amd64
31
31
steps :
32
32
- name : Checkout Repo
33
- uses : actions/checkout@v4
33
+ uses : actions/checkout@v4.2.2
34
34
with :
35
35
persist-credentials : false
36
36
- name : Setup tools
@@ -40,22 +40,19 @@ jobs:
40
40
- name : Prepare local workspace before restoring previously built
41
41
run : make prepare_local_workspace
42
42
- name : Download schema-embed.json
43
- uses : actions/download-artifact@v4
43
+ uses : actions/download-artifact@v4.1.8
44
44
with :
45
45
# Use a pattern to avoid failing if the artifact doesn't exist
46
46
pattern : schema-embed.*
47
47
# Avoid creating directories for each artifact
48
48
merge-multiple : true
49
49
path : provider/cmd/pulumi-resource-xyz/schema-embed.json
50
50
- name : Restore makefile progress
51
- uses : actions/download-artifact@v4
52
- with :
53
- name : prerequisites.make
54
- path : .make
51
+ run : make --touch provider schema
55
52
- name : Build & package provider
56
53
run : make provider_dist-${{ matrix.platform.os }}-${{ matrix.platform.arch }}
57
54
- name : Upload artifacts
58
- uses : actions/upload-artifact@v4
55
+ uses : actions/upload-artifact@v4.4.3
59
56
with :
60
57
name : pulumi-resource-xyz-v${{ inputs.version }}-${{ matrix.platform.os }}-${{ matrix.platform.arch }}.tar.gz
61
58
path : bin/pulumi-resource-xyz-v${{ inputs.version }}-${{ matrix.platform.os }}-${{ matrix.platform.arch }}.tar.gz
Original file line number Diff line number Diff line change 40
40
- python
41
41
steps :
42
42
- name : Checkout Repo
43
- uses : actions/checkout@v4
43
+ uses : actions/checkout@v4.2.2
44
44
with :
45
45
persist-credentials : false
46
46
- name : Cache examples generation
60
60
- name : Update path
61
61
run : echo "${{ github.workspace }}/bin" >> "$GITHUB_PATH"
62
62
- name : Restore makefile progress
63
- uses : actions/download-artifact@v4
64
- with :
65
- name : prerequisites.make
66
- path : .make
63
+ run : make --touch provider schema
67
64
- name : Build SDK
68
65
run : make build_${{ matrix.language }}
69
66
- name : Check worktree clean
79
76
uses : ./.github/actions/upload-sdk
80
77
with :
81
78
language : ${{ matrix.language }}
82
- - name : Save makefile progress
83
- uses : actions/upload-artifact@v4
84
- with :
85
- name : build_${{ matrix.language }}.make
86
- path : .make
87
- include-hidden-files : true
Original file line number Diff line number Diff line change 30
30
runs-on : ubuntu-latest
31
31
steps :
32
32
- name : Checkout Repo
33
- uses : actions/checkout@v4
33
+ uses : actions/checkout@v4.2.2
34
34
with :
35
35
persist-credentials : false
36
36
- name : Setup tools
Original file line number Diff line number Diff line change 30
30
runs-on : ubuntu-latest
31
31
steps :
32
32
- name : Checkout Repo
33
- uses : actions/checkout@v4
33
+ uses : actions/checkout@v4.2.2
34
34
with :
35
35
persist-credentials : false
36
36
- name : Install go
Original file line number Diff line number Diff line change @@ -55,11 +55,11 @@ jobs:
55
55
tool-cache : false
56
56
swap-storage : false
57
57
- name : Checkout Repo
58
- uses : actions/checkout@v4
58
+ uses : actions/checkout@v4.2.2
59
59
with :
60
60
persist-credentials : false
61
61
- name : Configure AWS Credentials
62
- uses : aws-actions/configure-aws-credentials@v4
62
+ uses : aws-actions/configure-aws-credentials@v4.0.2
63
63
with :
64
64
aws-access-key-id : ${{ secrets.AWS_CORP_S3_UPLOAD_ACCESS_KEY_ID }}
65
65
aws-region : us-west-2
@@ -137,7 +137,7 @@ jobs:
137
137
PROVIDER_VERSION : ${{ needs.prerequisites.outputs.version }}
138
138
steps :
139
139
- name : Checkout Repo
140
- uses : actions/checkout@v4
140
+ uses : actions/checkout@v4.2.2
141
141
with :
142
142
persist-credentials : false
143
143
- name : Setup tools
@@ -153,10 +153,7 @@ jobs:
153
153
with :
154
154
language : ${{ matrix.language }}
155
155
- name : Restore makefile progress
156
- uses : actions/download-artifact@v4
157
- with :
158
- name : build_${{ matrix.language }}.make
159
- path : .make
156
+ run : make --touch provider schema build_${{ matrix.language }}
160
157
- name : Update path
161
158
run : echo "${{ github.workspace }}/bin" >> "$GITHUB_PATH"
162
159
- name : Install Python deps
Original file line number Diff line number Diff line change 79
79
PROVIDER_VERSION : ${{ needs.prerequisites.outputs.version }}
80
80
steps :
81
81
- name : Checkout Repo
82
- uses : actions/checkout@v4
82
+ uses : actions/checkout@v4.2.2
83
83
with :
84
84
persist-credentials : false
85
85
- name : Setup tools
95
95
with :
96
96
language : ${{ matrix.language }}
97
97
- name : Restore makefile progress
98
- uses : actions/download-artifact@v4
99
- with :
100
- name : build_${{ matrix.language }}.make
101
- path : .make
98
+ run : make --touch provider schema build_${{ matrix.language }}
102
99
- name : Update path
103
100
run : echo "${{ github.workspace }}/bin" >> "$GITHUB_PATH"
104
101
- name : Install Python deps
You can’t perform that action at this time.
0 commit comments