Merge pull request #37 from SiLab-Bonn/p-project-cleanup #26
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: Build wheels | |
| on: [push] | |
| jobs: | |
| build: | |
| name: Build wheels | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: 3.13 | |
| - name: Install build | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install build | |
| - name: Build | |
| run: | |
| python3 -m build | |
| - uses: actions/upload-artifact@v7 | |
| with: | |
| name: package-dist | |
| path: dist | |
| upload: | |
| name: Upload wheels and sdist | |
| runs-on: ubuntu-latest | |
| if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') | |
| needs: [build] | |
| environment: | |
| name: pypi | |
| url: https://pypi.org/p/pylandau | |
| permissions: | |
| id-token: write | |
| steps: | |
| - uses: actions/download-artifact@v8 | |
| with: | |
| name: package-dist | |
| path: dist | |
| - uses: pypa/gh-action-pypi-publish@release/v1 |