v1.4a0 - Adds P-Touch Editor detection #13
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release to PyPi | |
on: | |
release: | |
types: [published] | |
env: | |
python_version: 3.8 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
environment: release | |
permissions: | |
id-token: write | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup Python ${{ env.python_version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ env.python_version }} | |
- name: Install Python build dependencies | |
run: | | |
pip install setuptools twine build | |
- name: Build binary | |
run: | | |
python3 -m build | |
- name: Publish package distributions to PyPI | |
uses: pypa/gh-action-pypi-publish@release/v1 | |
with: | |
attestations: true |