Skip to content

Commit

Permalink
build for more python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
fpgmaas committed Mar 12, 2024
1 parent e434f4b commit 3e85760
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Release

# //TODO: Change to on 'tag'
on:
pull_request:
types: [opened, synchronize, reopened]
Expand All @@ -13,9 +14,10 @@ jobs:
steps:
- uses: actions/checkout@v4

# //TODO: Change to fetch version from tag.
- name: Update project version
run: |
PROJECT_VERSION="0.0.13a2"
PROJECT_VERSION="0.0.13a3"
sed -i "s/^version = \".*\"/version = \"$PROJECT_VERSION\"/" pyproject.toml
- name: Upload updated pyproject.toml
Expand Down Expand Up @@ -47,7 +49,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist --find-interpreter
args: --release --out dist -i 3.8 3.9 3.10 3.11 3.12
sccache: 'true'
manylinux: auto
rust-toolchain: 1.75.0
Expand Down Expand Up @@ -81,7 +83,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist --find-interpreter
args: --release --out dist -i 3.8 3.9 3.10 3.11 3.12
sccache: 'true'
rust-toolchain: 1.75.0

Expand Down Expand Up @@ -114,7 +116,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist --find-interpreter
args: --release --out dist -i 3.8 3.9 3.10 3.11 3.12
sccache: 'true'
rust-toolchain: 1.75.0

Expand Down

0 comments on commit 3e85760

Please sign in to comment.