Skip to content

Commit

Permalink
Fix pypi release
Browse files Browse the repository at this point in the history
  • Loading branch information
carlisom committed Sep 24, 2024
1 parent 004be7d commit 195c354
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/release_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,20 @@ on:
jobs:
test:
uses: ./.github/workflows/run_tests.yml
setup:
uses: ./.github/workflows/build_python.yml
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install setuptools_scm[toml]>=3.4 setuptools>=42 wheel twine>=3.3.0
- name: Build
run: |
python setup.py sdist bdist_wheel
- name: Build and publish
env:
TWINE_USERNAME: __token__
Expand Down

0 comments on commit 195c354

Please sign in to comment.