Skip to content

Commit b07b693

Browse files
committed
FIX: Artifact
1 parent 754b9a5 commit b07b693

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/release.yml

+11
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,21 @@ jobs:
3434
- name: Check env vars
3535
run: |
3636
echo "Triggered by: ${{ github.event_name }}"
37+
- uses: actions/upload-artifact@v3
38+
with:
39+
name: dist
40+
path: |
41+
dist
3742
3843
# PyPI on release
3944
pypi:
4045
needs: package
4146
runs-on: ubuntu-latest
4247
if: github.event_name == 'release'
4348
steps:
49+
- uses: actions/download-artifact@v3
50+
with:
51+
name: dist
4452
- name: Publish to PyPI
4553
uses: pypa/gh-action-pypi-publish@release/v1
4654
with:
@@ -53,6 +61,9 @@ jobs:
5361
runs-on: ubuntu-latest
5462
if: github.event_name == 'push'
5563
steps:
64+
- uses: actions/download-artifact@v3
65+
with:
66+
name: dist
5667
- name: Publish to TestPyPI
5768
uses: pypa/gh-action-pypi-publish@release/v1
5869
with:

0 commit comments

Comments
 (0)