Skip to content

Commit 32832a9

Browse files
committed
Update release workflow
1 parent 314dfea commit 32832a9

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ jobs:
3333
- name: Build distributions
3434
run: |
3535
poetry build -vvv
36-
37-
- name: Upload distribution artifacts
38-
uses: actions/upload-artifact@v3
36+
37+
- uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
3938
with:
40-
name: project-dist
41-
path: dist
39+
name: distfiles
40+
path: dist/
41+
if-no-files-found: error
4242

4343
Publish:
4444
needs: [Build]
@@ -52,11 +52,10 @@ jobs:
5252
run: |
5353
echo tag=${GITHUB_REF#refs/tags/} >> $GITHUB_OUTPUT
5454
55-
- name: Download distribution artifact
56-
uses: actions/download-artifact@master
55+
- uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
5756
with:
58-
name: project-dist
59-
path: dist
57+
name: distfiles
58+
path: dist/
6059

6160
- name: Install and set up Poetry
6261
run: |

0 commit comments

Comments
 (0)