This commit is contained in:
Googlefan
2025-02-23 03:46:48 +00:00
parent c86a79cce5
commit eefd5b723c

View File

@@ -34,9 +34,9 @@ jobs:
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter
before-script-linux: command -v yum >/dev/null 2>&1 && { yum -y install openssl openssl-devel pkgconfig; } || { command -v apt-get >/dev/null 2>&1 && { apt-get update && apt-get install -y openssl libssl-dev pkg-config; } || { command -v apk >/dev/null 2>&1 && { apk add --no-cache openssl openssl-dev pkgconfig; } || { command -v pacman >/dev/null 2>&1 && { pacman -Sy --noconfirm openssl pkg-config; } || { command -v zypper >/dev/null 2>&1 && { zypper --non-interactive install openssl openssl-devel pkg-config; } || { echo "No supported package manager found"; exit 1; } } } } }
sccache: 'true'
manylinux: auto
container: ghcr.io/pyo3/maturin
working-directory: ./crates/sbv2_bindings
- name: Upload wheels
uses: actions/upload-artifact@v4
@@ -119,6 +119,7 @@ jobs:
- name: release
run: |
gh release create commit-${GITHUB_SHA:0:8} --prerelease wheels-*/*
python-release:
name: Release
runs-on: ubuntu-latest