feat(models): add DSteerableLeNet model and update imports #29
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: Continuous Distribution (CD) | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| release: | |
| permissions: | |
| contents: write | |
| id-token: write | |
| runs-on: ubuntu-latest | |
| concurrency: release | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Python Semantic Release | |
| id: release | |
| uses: python-semantic-release/python-semantic-release@v9.8.8 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| commit: true | |
| tag: true | |
| changelog: true | |
| - name: Set up the environment | |
| uses: ./.github/actions/setup-python-env | |
| - name: Build package | |
| run: uvx --from build pyproject-build --installer uv | |
| - name: Upload build artifacts for GitHub Release | |
| uses: actions/upload-artifact@v4 | |
| if: steps.release.outputs.released == 'true' | |
| with: | |
| name: build-artifacts | |
| path: | | |
| dist/*.whl | |
| dist/*.tar.gz | |
| - name: Publish package distributions to GitHub Releases | |
| uses: python-semantic-release/upload-to-gh-release@v9.8.8 | |
| if: steps.release.outputs.released == 'true' | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Publish package distributions to PyPI | |
| if: steps.release.outputs.released == 'true' | |
| uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 | |
| with: | |
| user: __token__ | |
| password: ${{ secrets.PYPI_API_TOKEN }} | |
| - name: Deploy documentation | |
| if: steps.release.outputs.released == 'true' | |
| run: uv run mkdocs gh-deploy --force |