Skip to content

v0.10.1

v0.10.1 #9

Workflow file for this run

name: Publish
on:
release:
types: [published]
env:
POETRY_VERSION: "1.7.0"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Poetry
run: pipx install poetry==${{ env.POETRY_VERSION }}
- name: Build package
run: poetry build
- name: Upload package artifact
uses: actions/upload-artifact@v3
with:
name: paramdb-release
path: dist
publish:
needs: build
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/project/paramdb
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v3
with:
name: paramdb-release
path: dist
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1