Skip to content

v0.2.0

v0.2.0 #7

Workflow file for this run

name: Publish to PyPI
on:
release:
types: [published]
workflow_dispatch:
jobs:
pypi:
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/project/stactools-met-office-deterministic/
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v6
- name: Set up uv
uses: astral-sh/setup-uv@v7
with:
version: "0.9.*"
- name: Create virtual environment
run: uv venv
- name: Install dependencies
run: uv pip install build
- name: Build package
run: uv run python -m build
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1