remove v from __version__ #1
Workflow file for this run
This file contains hidden or 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: Publish on PyPi | ||
| on: | ||
| workflow_dispatch: | ||
| push: | ||
| tags: | ||
| - 'v[0-9]+*' | ||
| jobs: | ||
| publish: | ||
|
Check failure on line 10 in .github/workflows/publish-pypi.yml
|
||
| needs: run_tests | ||
| runs-on: ubuntu-latest | ||
| environment: | ||
| name: pypi | ||
| url: https://pypi.org/p/pyradox-parser | ||
| permissions: | ||
| id-token: write | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| - name: Setup Python | ||
| uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: '>=3.10' | ||
| - name: Install Dependencies | ||
| run: | | ||
| python -m pip install --upgrade pip | ||
| pip install build | ||
| - name: Build | ||
| run: | | ||
| python -m build --sdist --wheel --outdir dist/ . | ||
| - name: Publish | ||
| uses: pypa/gh-action-pypi-publish@v1.5.0 | ||