mirror of
https://github.com/cve-search/pyvariot.git
synced 2024-12-04 20:57:22 +00:00
26 lines
651 B
YAML
26 lines
651 B
YAML
on:
|
|
release:
|
|
types:
|
|
- published
|
|
|
|
name: release
|
|
|
|
jobs:
|
|
pypi-publish:
|
|
name: Upload release to PyPI
|
|
runs-on: ubuntu-latest
|
|
environment:
|
|
name: pypi
|
|
url: https://pypi.org/p/pyproject
|
|
permissions:
|
|
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Install Poetry
|
|
run: python -m pip install --upgrade pip poetry
|
|
- name: Build artifacts
|
|
run: poetry build
|
|
- name: Publish package distributions to PyPI
|
|
uses: pypa/gh-action-pypi-publish@release/v1
|