Skip to content

Commit

Permalink
Github env to manage sdist path
Browse files Browse the repository at this point in the history
  • Loading branch information
ajjackson committed Dec 10, 2024
1 parent 0bee342 commit c483060
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build_upload_pypi_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ jobs:
# mv $(find dist/ -name 'euphonic*.tar.gz') dist/euphonic.tar.gz
# ls -R dist

- name: Get sdist filename
shell: bash -l {0}
run: |
echo EUPHONIC_SDIST="$(find dist/ -name 'euphonic*.tar.gz')" >> $GITHUB_ENV
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
Expand Down Expand Up @@ -133,7 +138,7 @@ jobs:

with:
output-dir: wheelhouse
package-dir: "dist/python-source-distribution/euphonic*.tar.gz"
package-dir: ${{ env.EUPHONIC_SDIST }}

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

0 comments on commit c483060

Please sign in to comment.