diff --git a/.github/workflows/wheels.yaml b/.github/workflows/wheels.yaml new file mode 100644 index 0000000..4be2cb1 --- /dev/null +++ b/.github/workflows/wheels.yaml @@ -0,0 +1,18 @@ +name: build +on: + push: + tags: + - 'v[0-9]*' + +jobs: + wheels: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - run: python -m pip install build twine + - run: python -m build + - run: python -m twine upload dist/* + env: + TWINE_REPOSITORY: testpypi + TWINE_USERNAME: __token__ + TWINE_PASSWORD: ${{ secrets.PYPI }}