Skip to content

Commit

Permalink
ci: update releasing (#1043)
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda authored Jun 30, 2023
1 parent 05e44e2 commit 5fed94a
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/pypi-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,17 @@ jobs:
python-version: 3.8

- name: Install dependencies
run: >-
python -m pip install --user --upgrade setuptools wheel
- name: Build
run: >-
python setup.py sdist bdist_wheel
run: python -m pip install -U setuptools wheel build twine
- name: Build package
run: python -m build
- name: Check package
run: twine check dist/*

- name: Upload to release
uses: AButler/[email protected]
with:
files: 'dist/*'
repo-token: ${{ secrets.GITHUB_TOKEN }}

# We do this, since failures on test.pypi aren't that bad
- name: Publish to Test PyPI
Expand Down

0 comments on commit 5fed94a

Please sign in to comment.