diff --git a/.github/workflows/reusable_maturin_prerelease.yml b/.github/workflows/reusable_maturin_prerelease.yml index 5a0ac8a..4972e89 100644 --- a/.github/workflows/reusable_maturin_prerelease.yml +++ b/.github/workflows/reusable_maturin_prerelease.yml @@ -81,6 +81,16 @@ jobs: ref: refs/tags/${{ inputs.tag }} fetch-depth: 0 + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.12" + + - name: Inject version + if: inputs.version-script != '' + run: ${{ inputs.version-script }} + shell: bash + - name: Build sdist uses: PyO3/maturin-action@v1 with: