Skip to content

📦 v0.0.5

📦 v0.0.5 #3

Workflow file for this run

name: release
on:
push:
tags:
- "v*.*.*"
jobs:
github-release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Create release on GitHub
uses: softprops/action-gh-release@v1
- name: Upload release to PyPI
pypi-publish:
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/setuptools-ocrd
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build package
run: python3 -m pip install --upgrade build && python3 -m build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1