Skip to content

v0.8.2

v0.8.2 #27

Workflow file for this run

name: Publish
on:
workflow_dispatch:
release:
types: [created]
jobs:
publish:
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/psm-utils
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.8"
- name: Install dependencies
run: |
python -m pip install --upgrade pip flit pytest
- name: Build
run: flit build
- name: Install
run: pip install dist/psm_utils-*.whl
- name: Test package
run: |
pytest
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1