Skip to content

chore(gitignore): rtx -> mise transition #93

chore(gitignore): rtx -> mise transition

chore(gitignore): rtx -> mise transition #93

Workflow file for this run

name: release
on:
push:
branches:
- main
jobs:
release_please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v4
id: release_please
with:
config-file: .github/release-please-config.json
manifest-file: .github/release-please-manifest.json
outputs:
release_created: ${{ steps.release_please.outputs.release_created }}
sha: ${{ steps.release_please.outputs.sha }}
pypi_upload:
runs-on: ubuntu-latest
needs: release_please
if: needs.release_please.outputs.release_created
steps:
- uses: actions/checkout@v4
with:
ref: ${{ needs.release_please.outputs.sha }}
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Create release assets
run: |
set -euxo pipefail
python3 -m pip install -U setuptools wheel
python3 setup.py sdist bdist_wheel
ls dist
- uses: pypa/gh-action-pypi-publish@v1.4.2
with:
password: ${{ secrets.PYPI_API_TOKEN }}