Skip to content

Release

Release #304

Workflow file for this run

name: Release
on:
push:
tags:
- "*"
workflow_dispatch:
jobs:
release:
name: release
runs-on: ubuntu-latest
environment:
name: release
url: https://pypi.org/p/stac-api-validator
permissions:
id-token: write
if: ${{ github.repository }} == 'stac-utils/stac-api-validator'
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.x
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install build
run: |
python -m pip install --upgrade pip
pip install build
- name: Build
run: python -m build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1