publish-pypi #2
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-pypi | |
| on: | |
| release: | |
| types: [released] | |
| workflow_dispatch: | |
| jobs: | |
| publish-job: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repo | |
| uses: actions/checkout@v6.0.2 | |
| - name: Set up pixi | |
| uses: prefix-dev/setup-pixi@v0.9.4 | |
| with: | |
| pixi-version: v0.67.2 | |
| cache: false | |
| - name: Build packages | |
| run: | | |
| pixi run build | |
| - name: Check build | |
| run: | | |
| pixi run deploy-check | |
| - name: Upload to PyPI | |
| run: | | |
| pixi run twine upload --username __token__ --password ${{ secrets.PYPI_TOKEN }} */dist/* |