Skip to content

Commit

Permalink
workflows: fix artifact upload/download by setting a name
Browse files Browse the repository at this point in the history
  • Loading branch information
suvayu committed Jul 11, 2024
1 parent 3df0bdd commit a548ed0
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
- name: Save wheel
uses: actions/upload-artifact@v4
with:
name: dist
path: dist/*
if-no-files-found: error
retention-days: 7
Expand All @@ -40,12 +41,10 @@ jobs:
steps:
- name: Checkout pyse
uses: actions/checkout@v4
- name: Make dist directory
run: mkdir -p dist
- name: Download all wheels
uses: actions/download-artifact@v4
with:
path: dist
name: dist
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
Expand All @@ -70,12 +69,10 @@ jobs:
permissions:
id-token: write
steps:
- name: Make dist directory
run: mkdir -p dist
- name: Download all wheels
uses: actions/download-artifact@v4
with:
path: dist
name: dist
- name: Publish to PyPI using trusted publishing
uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand Down

0 comments on commit a548ed0

Please sign in to comment.