Skip to content

Commit ad8dccc

Browse files
committed
Add comments
1 parent aabc5fa commit ad8dccc

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/pypi.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
# This file is autogenerated by maturin v1.5.1
1+
# This file is autogenerated by maturin v1.5.1, and minimally edited by hand.
2+
# See comments below for the edited sections.
3+
#
24
# To update, run
35
#
46
# maturin generate-ci github
57
#
8+
# and re-add the edits.
69
name: CI
710

811
on:
@@ -48,6 +51,10 @@ jobs:
4851
args: --release --out dist --find-interpreter
4952
sccache: 'true'
5053
manylinux: auto
54+
# BEGIN EDITED SECTION #
55+
# Install OpenSSL development headers into the manylinux docker container
56+
# used to build the wheels.
57+
# Note: libatomic is necessary for the build to succeed.
5158
before-script-linux: |
5259
# If we're running on rhel centos, install needed packages.
5360
if command -v yum &> /dev/null; then
@@ -62,6 +69,7 @@ jobs:
6269
# If we're running on debian-based system.
6370
apt update -y && apt-get install -y libssl-dev openssl pkg-config
6471
fi
72+
# END EDITED SECTION #
6573
- name: Upload wheels
6674
uses: actions/upload-artifact@v4
6775
with:
@@ -145,6 +153,10 @@ jobs:
145153
- uses: actions/download-artifact@v4
146154
- name: Publish to PyPI
147155
uses: PyO3/maturin-action@v1
156+
# BEGIN EDITED SECTION
157+
# The `MATURIN_PYPI_TOKEN` env var was removed in order to authenticate
158+
# to PyPI using the Trusted Publishers feature instead.
159+
# END EDITED SECTION.
148160
with:
149161
command: upload
150162
args: --non-interactive --skip-existing wheels-*/*

0 commit comments

Comments
 (0)