36
36
--draft \
37
37
${{ github.ref_name }}
38
38
39
- - uses : actions/checkout@v4
39
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
40
40
if : github.ref_type == 'branch'
41
41
with :
42
42
fetch-depth : 50
73
73
runs-on : ubuntu-22.04
74
74
75
75
steps :
76
- - uses : actions/checkout@v4
76
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
77
77
with :
78
78
fetch-depth : 50
79
79
@@ -91,19 +91,19 @@ jobs:
91
91
shasum -a 256 Docs.zip > Docs.zip.sha256sum
92
92
93
93
- name : " Upload linux release artifacts"
94
- uses : actions/upload-artifact@v4
94
+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
95
95
with :
96
96
name : build-linux-elixir-otp-${{ matrix.otp }}
97
97
path : elixir-otp-${{ matrix.otp }}.zip
98
98
99
99
- name : " Upload windows release artifacts"
100
- uses : actions/upload-artifact@v4
100
+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
101
101
with :
102
102
name : build-windows-elixir-otp-${{ matrix.otp }}
103
103
path : elixir-otp-${{ matrix.otp }}.exe
104
104
105
105
- name : " Upload doc artifacts"
106
- uses : actions/upload-artifact@v4
106
+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
107
107
if : matrix.build_docs
108
108
with :
109
109
name : Docs
@@ -124,12 +124,12 @@ jobs:
124
124
125
125
steps :
126
126
- name : " Download build"
127
- uses : actions/download-artifact@v4
127
+ uses : actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
128
128
with :
129
129
name : build-${{ matrix.flavor }}-elixir-otp-${{ matrix.otp }}
130
130
131
131
- name : " Sign files with Trusted Signing"
132
- uses : azure/trusted-signing-action@v0.5.1
132
+ uses : azure/trusted-signing-action@0d74250c661747df006298d0fb49944c10f16e03 # v0.5.1
133
133
if : github.repository == 'elixir-lang/elixir' && matrix.flavor == 'windows'
134
134
with :
135
135
azure-tenant-id : ${{ secrets.AZURE_TENANT_ID }}
@@ -169,7 +169,7 @@ jobs:
169
169
shasum -a 256 "$RELEASE_FILE" > "${RELEASE_FILE}.sha256sum"
170
170
171
171
- name : " Upload linux release artifacts"
172
- uses : actions/upload-artifact@v4
172
+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
173
173
with :
174
174
name : sign-${{ matrix.flavor }}-elixir-otp-${{ matrix.otp }}
175
175
path : ${{ env.RELEASE_FILE }}*
@@ -189,11 +189,11 @@ jobs:
189
189
190
190
- name : Checkout project
191
191
id : checkout
192
- uses : actions/checkout@v4
192
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
193
193
194
194
- name : " Download Build Artifacts"
195
195
id : download-build-artifacts
196
- uses : actions/download-artifact@v4
196
+ uses : actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
197
197
with :
198
198
pattern : " {sign-*-elixir-otp-*,Docs}"
199
199
merge-multiple : true
@@ -208,7 +208,7 @@ jobs:
208
208
209
209
- name : Attest Distribution Assets with SBoM
210
210
id : attest-sbom
211
- uses : actions/attest-sbom@v2
211
+ uses : actions/attest-sbom@115c3be05ff3974bcbd596578934b3f9ce39bf68 # v2.2.0
212
212
with :
213
213
subject-path : |
214
214
/tmp/build-artifacts/{elixir-otp-*.*,Docs.zip}
@@ -236,7 +236,7 @@ jobs:
236
236
ATTESTATION : " ${{ steps.attest-sbom.outputs.bundle-path }}"
237
237
238
238
- name : " Assemble Release SBoM Artifacts"
239
- uses : actions/upload-artifact@v4
239
+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
240
240
with :
241
241
name : " SBoM"
242
242
path : |
@@ -246,7 +246,7 @@ jobs:
246
246
${{ steps.ort.outputs.results-sbom-spdx-json-path }}
247
247
248
248
- name : " Assemble Distribution Attestations"
249
- uses : actions/upload-artifact@v4
249
+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
250
250
with :
251
251
name : " Attestations"
252
252
path : " attestations/*.sigstore"
@@ -256,7 +256,7 @@ jobs:
256
256
runs-on : ubuntu-22.04
257
257
258
258
steps :
259
- - uses : actions/download-artifact@v4
259
+ - uses : actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
260
260
with :
261
261
pattern : " {sign-*-elixir-otp-*,Docs,SBoM,Attestations}"
262
262
merge-multiple : true
@@ -301,7 +301,7 @@ jobs:
301
301
FASTLY_KEY : ${{ secrets.HEX_FASTLY_KEY }}
302
302
OTP_GENERIC_VERSION : " 25"
303
303
steps :
304
- - uses : actions/download-artifact@v4
304
+ - uses : actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
305
305
with :
306
306
pattern : " {sign-*-elixir-otp-*,Docs}"
307
307
merge-multiple : true
0 commit comments