Skip to content

v0.0.7 (2024-08-21)

v0.0.7 (2024-08-21) #6

Workflow file for this run

name: Upload Python Package
on:
release:
types: [published]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Generate VERSION file
run: echo "${{ github.event.release.tag_name }}" > postnormalism/VERSION
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@a56da0b891b3dc519c7ee3284aff1fad93cc8598
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}