Fix interpreter-hosted shell and shell path detection on Windows #998
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": | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| release: | |
| uses: kdeldycke/repomatic/.github/workflows/release.yaml@c48893dce010cb24303044880ab40f571b7bebda # v6.21.0 | |
| secrets: | |
| REPOMATIC_PAT: ${{ secrets.REPOMATIC_PAT }} | |
| VIRUSTOTAL_API_KEY: ${{ secrets.VIRUSTOTAL_API_KEY }} | |
| publish-pypi: | |
| name: 🐍 Publish to PyPI (${{ matrix.short_sha }}) | |
| needs: release | |
| # Gate decoupled from the run's overall result: always() lets this job run | |
| # even when an unrelated job (like binary tests) failed the run, and | |
| # package_built confirms the wheel actually built. A wheel that built cleanly | |
| # should still publish to PyPI even when a binary test fails. The | |
| # package_built output is defined in repomatic's reusable release.yaml. | |
| if: >- | |
| always() | |
| && needs.release.outputs.package_built == 'true' | |
| && needs.release.outputs.release_commits_matrix | |
| strategy: | |
| matrix: ${{ fromJSON(needs.release.outputs.release_commits_matrix) }} | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: write | |
| steps: | |
| - uses: kdeldycke/repomatic/.github/actions/publish-pypi@c48893dce010cb24303044880ab40f571b7bebda # v6.21.0 | |
| with: | |
| artifact-name: ${{ github.event.repository.name }}-${{ matrix.short_sha }} |