Skip to content

feat: version 0.1.4, fix bug by removing try-finally #27

feat: version 0.1.4, fix bug by removing try-finally

feat: version 0.1.4, fix bug by removing try-finally #27

Workflow file for this run

name: Publish to PyPI
on:
push:
tags:
- '*.*.*'
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout Code Repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Build and Publish to PyPI
uses: JRubics/[email protected]
with:
pypi_token: ${{ secrets.PIPY_API_TOKEN }}
poetry_version: "==1.8.2"
- name: Create Release
uses: softprops/action-gh-release@v2
with:
name: ${{ github.ref_name }}
tag_name: ${{ github.ref_name }}
files: ./dist/*
make_latest: true
body: |
This is a release for the version ${{ github.ref_name }}.
PyPI package: https://pypi.org/project/${{ github.event.repository.name }}/${{ github.ref_name }}