Skip to content

Commit

Permalink
Rename sdist in wheel-building job
Browse files Browse the repository at this point in the history
  • Loading branch information
ajjackson committed Dec 9, 2024
1 parent 9dbbc04 commit 9222639
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/build_upload_pypi_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,22 @@ jobs:
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Ensure tags are fetched for versioning

- name: Download sdist
uses: actions/download-artifact@v4
with:
path: dist/

- name: Rename dowloaded sdist
shell: bash -l {0}
run: |
ls -R dist
mv $(find dist/ -name 'euphonic*.tar.gz') dist/euphonic.tar.gz
ls -R dist
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Ensure tags are fetched for versioning

- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
Expand Down Expand Up @@ -119,7 +126,7 @@ jobs:

with:
output-dir: wheelhouse
package-dir: dist/*.tar.gz
package-dir: "dist/euphonic.tar.gz"

- name: Upload wheels as build artifacts
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 9222639

Please sign in to comment.