Skip to content

Commit 4e35010

Browse files
Merge pull request #223 from blacklanternsecurity/dev
Dev -> Stable 9.1.0
2 parents 2c0571e + cc62471 commit 4e35010

File tree

6 files changed

+253
-38
lines changed

6 files changed

+253
-38
lines changed

.github/workflows/docker-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ jobs:
6161
type=sha,prefix=sha-
6262
type=raw,value=latest,enable={{is_default_branch}}
6363
type=raw,value=v9
64-
type=raw,value=v9.0
65-
type=raw,value=v9.0.0
64+
type=raw,value=v9.1
65+
type=raw,value=v9.1.0
6666
6767
- name: Build and push Docker image
6868
uses: docker/build-push-action@v6

.github/workflows/python-tests.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ jobs:
6262
- name: Publish PyPi package
6363
# TODO: Remove || true
6464
run: uv run maturin publish --username __token__ --password ${{ secrets.PYPI_TOKEN }} || true
65-
6665
linux:
6766
runs-on: ${{ matrix.platform.runner }}
6867
needs: publish
@@ -78,7 +77,7 @@ jobs:
7877
target: aarch64
7978
- runner: ubuntu-22.04
8079
target: armv7
81-
# get wrecked ibm
80+
# get rekt ibm
8281
# - runner: ubuntu-22.04
8382
# target: s390x
8483
- runner: ubuntu-22.04
@@ -93,15 +92,15 @@ jobs:
9392
with:
9493
target: ${{ matrix.platform.target }}
9594
args: --release --out dist --find-interpreter
96-
sccache: false
95+
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
9796
manylinux: auto
9897
before-script-linux: |
9998
if command -v apt-get >/dev/null 2>&1; then
10099
# Debian-based
101100
sudo apt-get update
102101
sudo apt-get install -y pkg-config libssl-dev perl make gcc g++ binutils
103102
elif command -v yum >/dev/null 2>&1; then
104-
# CentOS-based (manylinux images)
103+
# CentOS-based
105104
yum update -y
106105
yum install -y openssl openssl-devel perl perl-core make gcc gcc-c++ binutils
107106
else
@@ -139,7 +138,7 @@ jobs:
139138
with:
140139
target: ${{ matrix.platform.target }}
141140
args: --release --out dist --find-interpreter
142-
sccache: false
141+
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
143142
manylinux: musllinux_1_2
144143
before-script-linux: |
145144
if command -v apt-get >/dev/null 2>&1; then
@@ -154,6 +153,7 @@ jobs:
154153
echo "Error: Neither apt-get nor yum found"
155154
exit 1
156155
fi
156+
157157
- name: Upload wheels
158158
uses: actions/upload-artifact@v6
159159
with:
@@ -182,7 +182,7 @@ jobs:
182182
with:
183183
target: ${{ matrix.platform.target }}
184184
args: --release --out dist --find-interpreter
185-
sccache: false
185+
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
186186
- name: Upload wheels
187187
uses: actions/upload-artifact@v6
188188
with:
@@ -210,7 +210,7 @@ jobs:
210210
with:
211211
target: ${{ matrix.platform.target }}
212212
args: --release --out dist --find-interpreter
213-
sccache: false
213+
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
214214
- name: Upload wheels
215215
uses: actions/upload-artifact@v6
216216
with:
@@ -252,10 +252,10 @@ jobs:
252252
uses: actions/attest-build-provenance@v3
253253
with:
254254
subject-path: 'wheels-*/*'
255-
- name: Publish wheels to PyPI
255+
- name: Publish to PyPI
256256
uses: PyO3/maturin-action@v1
257257
env:
258258
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
259259
with:
260260
command: upload
261-
args: --non-interactive --skip-existing wheels-*/*
261+
args: --non-interactive --skip-existing wheels-*/*

0 commit comments

Comments
 (0)