33
33
sudo rm -rf $GITHUB_WORKSPACE/*
34
34
35
35
- name : Get torch-mlir
36
- uses : actions/checkout@v3
36
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
37
37
with :
38
38
submodules : ' true'
39
39
fetch-depth : 0
67
67
- name : Publish Release (if requested)
68
68
if : github.event.inputs.release_id != ''
69
69
id : publish_release
70
- uses : eregon/publish-release@v1
70
+ uses : eregon/publish-release@01df127f5e9a3c26935118e22e738d95b59d10ce # v1.0.6
71
71
env :
72
72
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
73
73
with :
83
83
#
84
84
# See https://github.com/pypa/gh-action-pypi-publish/discussions/15
85
85
- name : Store the binary wheel
86
- uses : actions/upload-artifact@v2
86
+ uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
87
87
with :
88
88
name : wheels
89
89
path : dist
@@ -105,7 +105,7 @@ jobs:
105
105
sudo rm -rf $GITHUB_WORKSPACE/*
106
106
107
107
- name : Get torch-mlir
108
- uses : actions/checkout@v3
108
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
109
109
with :
110
110
submodules : ' true'
111
111
fetch-depth : 0
@@ -136,7 +136,7 @@ jobs:
136
136
- name : Publish Release (if requested)
137
137
if : github.event.inputs.release_id != ''
138
138
id : publish_release
139
- uses : eregon/publish-release@v1
139
+ uses : eregon/publish-release@01df127f5e9a3c26935118e22e738d95b59d10ce # v1.0.6
140
140
env :
141
141
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
142
142
with :
@@ -152,7 +152,7 @@ jobs:
152
152
#
153
153
# See https://github.com/pypa/gh-action-pypi-publish/discussions/15
154
154
- name : Store the binary wheel
155
- uses : actions/upload-artifact@v2
155
+ uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
156
156
with :
157
157
name : wheels
158
158
path : dist
@@ -166,7 +166,7 @@ jobs:
166
166
package : [torch-mlir]
167
167
steps :
168
168
- name : Get torch-mlir
169
- uses : actions/checkout@v3
169
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
170
170
with :
171
171
submodules : ' true'
172
172
- uses : ./.github/actions/setup-build
@@ -197,7 +197,7 @@ jobs:
197
197
- name : Publish Release (if requested)
198
198
if : github.event.inputs.release_id != ''
199
199
id : publish_release
200
- uses : eregon/publish-release@v1
200
+ uses : eregon/publish-release@01df127f5e9a3c26935118e22e738d95b59d10ce # v1.0.6
201
201
env :
202
202
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
203
203
with :
@@ -213,7 +213,7 @@ jobs:
213
213
#
214
214
# See https://github.com/pypa/gh-action-pypi-publish/discussions/15
215
215
- name : Store the binary wheel
216
- uses : actions/upload-artifact@v2
216
+ uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
217
217
with :
218
218
name : wheels
219
219
path : dist
@@ -227,7 +227,7 @@ jobs:
227
227
package : [torch-mlir]
228
228
steps :
229
229
- name : Get torch-mlir
230
- uses : actions/checkout@v3
230
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
231
231
with :
232
232
submodules : ' true'
233
233
- uses : ./.github/actions/setup-build
@@ -261,7 +261,7 @@ jobs:
261
261
- name : Publish Release (if requested)
262
262
if : github.event.inputs.release_id != ''
263
263
id : publish_release
264
- uses : eregon/publish-release@v1
264
+ uses : eregon/publish-release@01df127f5e9a3c26935118e22e738d95b59d10ce # v1.0.6
265
265
env :
266
266
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
267
267
with :
@@ -278,13 +278,13 @@ jobs:
278
278
#
279
279
# See https://github.com/pypa/gh-action-pypi-publish/discussions/15
280
280
- name : Store the binary wheel
281
- uses : actions/upload-artifact@v2
281
+ uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
282
282
with :
283
283
name : wheels
284
284
path : dist
285
285
286
286
publish_releases :
287
- runs-on : ubuntu-latest
287
+ runs-on : ubuntu-22.04
288
288
permissions :
289
289
contents : write
290
290
actions : write
@@ -300,7 +300,7 @@ jobs:
300
300
301
301
steps :
302
302
- name : Invoke Publish Releases Page
303
- uses : benc-uk/workflow-dispatch@v1
303
+ uses : benc-uk/workflow-dispatch@e2e5e9a103e331dad343f381a29e654aea3cf8fc # v1.2.4
304
304
with :
305
305
workflow : Publish releases page
306
306
token : ${{ secrets.GITHUB_TOKEN }}
0 commit comments