Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
no longer builds sdist. now uses build
  • Loading branch information
ACEnglish authored Jan 12, 2024
1 parent 0b36a8a commit b304c0f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ jobs:
python -m pip install .
- name: Build the release tarball
run: |
python -m pip install --upgrade pip setuptools wheel
python setup.py sdist bdist_wheel
python -m pip install --upgrade pip setuptools wheel build
python3 -m build --wheel --sdist
- name: Publish distribution 📦 to Test PyPI
if: github.event.inputs.skip_test != 'skip'
uses: pypa/gh-action-pypi-publish@master
Expand All @@ -47,7 +47,7 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: release-tarball
path: dist/Truvari*.tar.gz
path: dist/truvari*.tar.gz
# if-no-files-found: ignore
- name: Publish distribution 📦 to PyPI
if: github.event.inputs.official == 'PUBLISH TO PYPI'
Expand Down

0 comments on commit b304c0f

Please sign in to comment.