Skip to content

Bump version: 0.1.0 → 0.1.1 #2

Bump version: 0.1.0 → 0.1.1

Bump version: 0.1.0 → 0.1.1 #2

Workflow file for this run

name: Release
env:
PIP_VERSION: "23.0.0"
on:
push:
tags:
- v*
branches:
- main
jobs:
Release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install -r dev-requirements.txt
- name: Build
run: make build
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
path: dist
- name: Release
if: startsWith(github.ref, 'refs/tags/')
run: python -m twine upload --repository pypi dist/*
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}