diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml new file mode 100644 index 0000000..1c3bda6 --- /dev/null +++ b/.github/workflows/pypi.yml @@ -0,0 +1,19 @@ +name: Publish to PyPI +on: + push: + tags: + - 'v[0-9]+.[0-9]+.[0-9]+' +jobs: + pypi-publish: + name: Upload release to PyPI + runs-on: ubuntu-latest + environment: + name: pypi + url: https://pypi.org/p/dsjobs + permissions: + id-token: write # IMPORTANT: this permission is mandatory for trusted publishing + steps: + # retrieve your distributions here + + - name: Publish package distributions to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 \ No newline at end of file