Skip to content

Commit b0cfe9e

Browse files
wbarnhabradenneal1
authored andcommitted
Fix artifact downloads for release
1 parent c13bdca commit b0cfe9e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/python-package.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: Build artifacts
4242
run: python -m build
4343
- name: Upload built artifacts for testing
44-
uses: actions/upload-artifact@v3
44+
uses: actions/upload-artifact@v4
4545
with:
4646
name: ${{ env.sdist-artifact }}
4747
# NOTE: Exact expected file names are specified here
@@ -187,11 +187,11 @@ jobs:
187187
environment: pypi
188188
if: github.event_name == 'release' && github.event.action == 'created'
189189
steps:
190-
- name: Download the sdist artifact
191-
uses: actions/download-artifact@v3
190+
- name: Download the artifacts
191+
uses: actions/download-artifact@v4
192192
with:
193-
name: artifact
194-
path: dist
193+
name: ${{ env.sdist-artifact }}
194+
path: dist/${{ env.sdist-name }}
195195
- name: Publish package to PyPI
196196
uses: pypa/gh-action-pypi-publish@release/v1
197197
with:

0 commit comments

Comments
 (0)