Skip to content

chore: Bump black from 23.10.1 to 23.12.1 (#128) #9

chore: Bump black from 23.10.1 to 23.12.1 (#128)

chore: Bump black from 23.10.1 to 23.12.1 (#128) #9

on:
push:
branches:
- master
name: release-please
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Create GitHub release
uses: GoogleCloudPlatform/release-please-action@v3
id: release
with:
release-type: python
package-name: altamisa
token: ${{ secrets.BOT_TOKEN }}
- uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created }}
with:
fetch-depth: 0
- name: Set up Python
if: ${{ steps.release.outputs.release_created }}
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Build package
if: ${{ steps.release.outputs.release_created }}
run: |
python -m pip install --upgrade pip
pip install -U setuptools
python setup.py sdist
- name: Publish to PyPI
if: ${{ steps.release.outputs.release_created }}
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}