Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Publish to PyPI

on:
push:
tags: ["[0-9]+.[0-9]+.[0-9]+*"]
tags: ["v[0-9]+.[0-9]+.[0-9]+*"]

permissions:
contents: read
Expand All @@ -26,7 +26,8 @@ jobs:
target: ${{ matrix.target }}
args: --release --out dist --features postgres,redis --interpreter 3.9 3.10 3.11 3.12 3.13
manylinux: 2_28
before-script-linux: dnf install -y openssl-devel perl-IPC-Cmd
before-script-linux: |
dnf install -y openssl-devel perl-core perl-IPC-Cmd perl-Time-Piece perl-FindBin

- name: Upload wheels
uses: actions/upload-artifact@v4
Expand All @@ -52,7 +53,8 @@ jobs:
target: ${{ matrix.target }}
args: --release --out dist --features postgres,redis --interpreter 3.9 3.10 3.11 3.12 3.13
manylinux: musllinux_1_2
before-script-linux: apk add --no-cache openssl-dev perl make
before-script-linux: |
apk add --no-cache openssl-dev perl make musl-dev

- name: Upload wheels
uses: actions/upload-artifact@v4
Expand All @@ -61,14 +63,12 @@ jobs:
path: dist/*.whl

build-wheels-macos:
runs-on: ${{ matrix.os }}
runs-on: macos-latest
strategy:
matrix:
include:
- os: macos-13
target: x86_64-apple-darwin
- os: macos-latest
target: aarch64-apple-darwin
target:
- x86_64-apple-darwin
- aarch64-apple-darwin
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -188,4 +188,4 @@ jobs:
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: dist/
packages-dir: dist/