diff options
| author | 2025-03-14 22:04:59 +0800 | |
|---|---|---|
| committer | 2025-03-14 22:04:59 +0800 | |
| commit | fb5b1fbba51d68619d64f53e68164cc7a7741370 (patch) | |
| tree | ff4c70e885a7e710224bceb674d9c0ffd3d21f29 /.github/workflows/CI.yml | |
| parent | 00e130b06051a7d250d2a0a9b901d46cbd9eb756 (diff) | |
| download | conventional_role_play-fb5b1fbba51d68619d64f53e68164cc7a7741370.tar.gz conventional_role_play-fb5b1fbba51d68619d64f53e68164cc7a7741370.zip | |
chore: update CI workflow to consistently use Python 3.9 and remove unnecessary interpreter arguments
Diffstat (limited to '.github/workflows/CI.yml')
| -rw-r--r-- | .github/workflows/CI.yml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 5fafbab..177ee90 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -40,19 +40,19 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: '3.9' + python-version: 3.9 - name: Build wheels uses: PyO3/maturin-action@v1 with: target: ${{ matrix.platform.target }} - args: --release --out dist --find-interpreter + args: --release --out dist sccache: ${{ !startsWith(github.ref, 'refs/tags/') }} manylinux: auto - name: Build free-threaded wheels uses: PyO3/maturin-action@v1 with: target: ${{ matrix.platform.target }} - args: --release --out dist -i python3.13t + args: --release --out dist sccache: ${{ !startsWith(github.ref, 'refs/tags/') }} manylinux: auto - name: Upload wheels @@ -78,7 +78,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: 3.x + python-version: 3.9 - name: Build wheels uses: PyO3/maturin-action@v1 with: @@ -90,7 +90,7 @@ jobs: uses: PyO3/maturin-action@v1 with: target: ${{ matrix.platform.target }} - args: --release --out dist -i python3.13t + args: --release --out dist sccache: ${{ !startsWith(github.ref, 'refs/tags/') }} manylinux: musllinux_1_2 - name: Upload wheels @@ -112,7 +112,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: 3.x + python-version: 3.9 architecture: ${{ matrix.platform.target }} - name: Build wheels uses: PyO3/maturin-action@v1 @@ -124,7 +124,7 @@ jobs: uses: PyO3/maturin-action@v1 with: target: ${{ matrix.platform.target }} - args: --release --out dist -i python3.13t + args: --release --out dist sccache: ${{ !startsWith(github.ref, 'refs/tags/') }} - name: Upload wheels uses: actions/upload-artifact@v4 @@ -145,7 +145,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: 3.x + python-version: 3.9 - name: Build wheels uses: PyO3/maturin-action@v1 with: @@ -156,7 +156,7 @@ jobs: uses: PyO3/maturin-action@v1 with: target: ${{ matrix.platform.target }} - args: --release --out dist -i python3.13t + args: --release --out dist sccache: ${{ !startsWith(github.ref, 'refs/tags/') }} - name: Upload wheels uses: actions/upload-artifact@v4 @@ -204,4 +204,4 @@ jobs: MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} with: command: upload - args: --non-interactive --skip-existing wheels-*/* + args: --non-interactive --skip-existing wheels-*/*
\ No newline at end of file |
