Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
anoadragon453 committed Apr 16, 2024
1 parent aabc5fa commit ad8dccc
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/pypi.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# This file is autogenerated by maturin v1.5.1
# This file is autogenerated by maturin v1.5.1, and minimally edited by hand.
# See comments below for the edited sections.
#
# To update, run
#
# maturin generate-ci github
#
# and re-add the edits.
name: CI

on:
Expand Down Expand Up @@ -48,6 +51,10 @@ jobs:
args: --release --out dist --find-interpreter
sccache: 'true'
manylinux: auto
# BEGIN EDITED SECTION #
# Install OpenSSL development headers into the manylinux docker container
# used to build the wheels.
# Note: libatomic is necessary for the build to succeed.
before-script-linux: |
# If we're running on rhel centos, install needed packages.
if command -v yum &> /dev/null; then
Expand All @@ -62,6 +69,7 @@ jobs:
# If we're running on debian-based system.
apt update -y && apt-get install -y libssl-dev openssl pkg-config
fi
# END EDITED SECTION #
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -145,6 +153,10 @@ jobs:
- uses: actions/download-artifact@v4
- name: Publish to PyPI
uses: PyO3/maturin-action@v1
# BEGIN EDITED SECTION
# The `MATURIN_PYPI_TOKEN` env var was removed in order to authenticate
# to PyPI using the Trusted Publishers feature instead.
# END EDITED SECTION.
with:
command: upload
args: --non-interactive --skip-existing wheels-*/*

0 comments on commit ad8dccc

Please sign in to comment.