Skip to content

Commit

Permalink
ci: release-please automatically pushes the package to PyPi
Browse files Browse the repository at this point in the history
Release-As: 0.13.2

Refs: RATYK-86
  • Loading branch information
charn committed Mar 3, 2025
1 parent cc09bfc commit 623d889
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 27 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,25 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
id: release
# Build and publish to PyPI
- name: Checkout
uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created }}
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.9
if: ${{ steps.release.outputs.release_created }}
- name: Install dependencies
run: pip install -U setuptools wheel build
if: ${{ steps.release.outputs.release_created }}
- name: Build
run: python -m build .
if: ${{ steps.release.outputs.release_created }}
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
verbose: true
if: ${{ steps.release.outputs.release_created }}
27 changes: 0 additions & 27 deletions .github/workflows/release.yml

This file was deleted.

0 comments on commit 623d889

Please sign in to comment.