fix: Do not run pdm sync
if skip_install is true
#14
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
tags: | |
- "*" | |
jobs: | |
release-pypi: | |
name: release-pypi | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
architecture: "x64" | |
- name: Build artifacts | |
run: | | |
pipx run build | |
- name: Upload to Pypi | |
run: | | |
pip install twine | |
twine upload --username __token__ --password ${{ secrets.PYPI_TOKEN }} dist/* |