mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-06-09 20:29:55 +02:00
CI: pypi
This commit is contained in:
parent
8080bd823c
commit
30ba234641
1 changed files with 24 additions and 0 deletions
24
.github/workflows/pypi.yml
vendored
Normal file
24
.github/workflows/pypi.yml
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
name: PyPI CD
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
pypi-publish:
|
||||
name: upload release to PyPI
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
# IMPORTANT: this permission is mandatory for Trusted Publishing
|
||||
id-token: write
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
- name: Build package
|
||||
run: make build
|
||||
- name: Publish package distributions to PyPI
|
||||
uses: pypa/gh-action-pypi-publish@release/v1
|
||||
with:
|
||||
verbose: true
|
Loading…
Add table
Add a link
Reference in a new issue