Skip to content

Add release/publish flow #1

Add release/publish flow

Add release/publish flow #1

Workflow file for this run

name: Python package
on:
push:
tags:
- "*.*.*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# If there isn't a release for this version, create a new one.
- uses: ncipollo/release-action@v1
with:
generateReleaseNotes: true
makeLatest: true
prerelease: true
skipIfReleaseExists: true
# Build and publish the package to pypi.
- name: Build and publish to pypi
uses: JRubics/[email protected]
with:
python_version: "3.10"
pypi_token: ${{ secrets.PYPI_PASSWORD }}
package_directory: "opshin"
poetry_install_options: "--without dev"