diff --git a/.github/workflows/pypi_publish.yml b/.github/workflows/pypi_publish.yml index b623f30..9b46e4f 100644 --- a/.github/workflows/pypi_publish.yml +++ b/.github/workflows/pypi_publish.yml @@ -5,6 +5,9 @@ on: types: - published +env: + PYTHON_VERSION: "3.12" + permissions: contents: read @@ -18,12 +21,13 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: ${{ env.PYTHON_VERSION }} - name: Build wheels uses: PyO3/maturin-action@v1 with: target: ${{ matrix.target }} - args: --release --out dist --find-interpreter + # args: --release --out dist --find-interpreter + args: --release -out dist -i 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10 sccache: "true" manylinux: auto - name: Upload wheels @@ -41,13 +45,14 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: ${{ env.PYTHON_VERSION" }} architecture: ${{ matrix.target }} - name: Build wheels uses: PyO3/maturin-action@v1 with: target: ${{ matrix.target }} - args: --release --out dist --find-interpreter + # args: --release --out dist --find-interpreter + args: --release -out dist -i 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10 sccache: "true" - name: Upload wheels uses: actions/upload-artifact@v4 @@ -64,12 +69,13 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: ${{ env.PYTHON_VERSION" }} - name: Build wheels uses: PyO3/maturin-action@v1 with: target: ${{ matrix.target }} - args: --release --out dist --find-interpreter + # args: --release --out dist --find-interpreter + args: --release -out dist -i 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10 sccache: "true" - name: Upload wheels uses: actions/upload-artifact@v4 @@ -83,7 +89,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: ${{ env.PYTHON_VERSION" }} - name: Build sdist uses: PyO3/maturin-action@v1 with: @@ -104,7 +110,7 @@ jobs: - uses: actions/download-artifact@v4 - uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: ${{ env.PYTHON_VERSION" }} - name: Publish to PyPI uses: PyO3/maturin-action@v1 env: diff --git a/Cargo.toml b/Cargo.toml index 5f995d1..0de9e5a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "prelude-parser" -version = "0.11.0" +version = "0.11.1" description = "Parses XML files exported from Prelude EDC into formats usable by Python." edition = "2021" license = "MIT"