StarRailDamageCal/.github/workflows/release.yml

26 lines
537 B
YAML
Raw Normal View History

2023-10-30 06:40:45 +00:00
name: Release
on:
workflow_dispatch:
2023-10-30 06:36:26 +00:00
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:
2023-10-30 06:40:45 +00:00
- name: Checkout source
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
2023-10-30 06:36:26 +00:00
- uses: pdm-project/setup-pdm@v3
- name: Publish package distributions to PyPI
run: pdm publish