0.3.5 #21
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 & Release | |
| on: | |
| release: | |
| types: [created] | |
| jobs: | |
| # Build the namespace packages | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup Python | |
| uses: actions/setup-python@v3 | |
| with: | |
| python-version: "3.13" | |
| - name: Install dependencies | |
| run: | | |
| pip install twine | |
| pip install wheel | |
| - name: Build | |
| run: | | |
| echo "Building ${{ github.event.release.tag_name }}" | |
| echo "Release notes: ${{ github.event.release.body }}" | |
| make build | |
| - name: Upload | |
| run: | | |
| echo "Uploading ${{ github.event.release.tag_name }}" | |
| make publish \ | |
| USERNAME=__token__ \ | |
| PASSWORD=${{ secrets.PYPI_TOKEN }} |