Skip to content

v0.1.15 release

v0.1.15 release #26

name: Tagged Release
on:
push:
branches:
- master
tags:
- v[0-9]+.[0-9]+.[0-9]+*
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v3
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build
- name: Create Github release.
uses: "marvinpinto/action-automatic-releases@latest"
with:
automatic_release_tag: true
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: |
LICENSE
dist/*
- name: Publish to PyPi
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.NEW_PYPI_API_TOKEN }}
verbose: true