Skip to content

Commit f7e80b0

Browse files
committed
update workflow
1 parent 8f7206d commit f7e80b0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release-python.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ jobs:
106106
run: |
107107
find . -mindepth 2 -type f -exec mv {} . \;
108108
find . -type d -empty -delete
109-
- uses: actions/upload-artifact@v3
109+
- uses: actions/upload-artifact@v4
110110
with:
111-
name: all-dist-${{ github.head_ref || github.ref_name }}
111+
name: all-dist-${{ github.run_id }}
112112
path: "./*"
113113
publish:
114114
# https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/#publishing-the-distribution-to-pypi
@@ -120,9 +120,9 @@ jobs:
120120
id-token: write
121121
steps:
122122
- name: Download all the dists
123-
uses: actions/download-artifact@v3
123+
uses: actions/download-artifact@v4
124124
with:
125-
name: all-dist-${{ github.head_ref || github.ref_name }}
125+
name: all-dist--${{ github.run_id }}
126126
path: dist/
127127
- name: Publish distribution 📦 to PyPI
128128
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)