mirror of
https://github.com/PaiGramTeam/StarRailDamageCal.git
synced 2024-11-23 08:11:06 +00:00
26 lines
537 B
YAML
26 lines
537 B
YAML
name: Release
|
|
|
|
on:
|
|
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:
|
|
- name: Checkout source
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: 3.8
|
|
|
|
- uses: pdm-project/setup-pdm@v3
|
|
|
|
- name: Publish package distributions to PyPI
|
|
run: pdm publish
|