Skip to content

v0.10.0

v0.10.0 #8

Workflow file for this run

name: Publish
on:
release:
types: [published]
env:
POETRY_VERSION: "1.6.1"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- 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