diff options
author | Hernan Grecco <hgrecco@gmail.com> | 2023-05-01 10:46:04 -0300 |
---|---|---|
committer | Hernan Grecco <hgrecco@gmail.com> | 2023-05-01 11:14:10 -0300 |
commit | a814d1bc4a2e1b0786ca1e56e0f9bf7e363434b4 (patch) | |
tree | e2fc707fc75cf711b834faecbaeab510338c10a0 /.github | |
parent | f536abcfbb823ba55a35922da94b26ecc5f6d7b8 (diff) | |
download | pint-a814d1bc4a2e1b0786ca1e56e0f9bf7e363434b4.tar.gz |
Tooling: remove bors and remove zest-releaser
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 10 | ||||
-rw-r--r-- | .github/workflows/publish.yml | 27 |
2 files changed, 27 insertions, 10 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e73a8c8..7dd55db 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -226,13 +226,3 @@ jobs: # run: | # pip install coveralls "requests<2.29" # coveralls --finish - - # Dummy task to summarize all. See https://github.com/bors-ng/bors-ng/issues/1300 - # ci-success: - # name: ci - # if: ${{ success() }} - # needs: test-linux - # runs-on: ubuntu-latest - # steps: - # - name: CI succeeded - # run: exit 0 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..3cf9f79 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,27 @@ +name: Build and publish to PyPI + +on: + push: + tags: + - '*' + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - uses: actions/setup-python@v4 + with: + python-version: '3.x' + + - name: Install dependencies + run: python -m pip install build + + - name: Build package + run: python -m build + + - name: Publish to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 + with: + password: ${{ secrets.PYPI_API_TOKEN }} |