Skip to content

upgraded version to 0.0.3 (#50) #14

upgraded version to 0.0.3 (#50)

upgraded version to 0.0.3 (#50) #14

Workflow file for this run

name: Release
on:
push:
branches:
- main
- master
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v2.4.0
with:
fetch-depth: 2
- name: Set up Python
uses: actions/setup-python@v2.3.0
with:
python-version: "3.10"
- name: Upgrade pip
run: |
pip install --upgrade pip
pip --version
- name: Install Poetry
run: |
pip install poetry
poetry --version
- name: Check if there is a parent commit
id: check-parent-commit
run: |
echo "::set-output name=sha::$(git rev-parse --verify --quiet HEAD^)"
- name: Build and publish to pypi
uses: JRubics/poetry-publish@v1.16
with:
pypi_token: ${{ secrets.PYPI_TOKEN }}