Skip to content

Commit

Permalink
Upload to pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
mhochsteger committed Jun 14, 2024
1 parent 5109a4e commit 31cfe40
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,22 @@ jobs:
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl

upload_pypi:
needs: [build_wheels, build_sdist]
runs-on: ubuntu-latest
environment: pypi
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v4
with:
# unpacks all CIBW artifacts into dist/
pattern: cibw-*
path: dist
merge-multiple: true

- uses: pypa/gh-action-pypi-publish@release/v1
with:
skip-existing: true
password: ${{ secrets.PYPI_API_TOKEN_2 }}
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "netgen_occt"
version = "0.0.5"
version = "0.0.6"
description="Open CASCADE Technology libraries, used by Netgen Mesher"
requires-python = ">=3.8"
classifiers = [
Expand Down Expand Up @@ -65,4 +65,4 @@ repair-wheel-command = "mv {wheel} {dest_dir} && rename linux_x86_64 manylinux_2
[tool.cibuildwheel.macos]
environment = {MACOSX_DEPLOYMENT_TARGET=10.15}
repair-wheel-command = ""
archs = ["x86_64", "arm64"]
archs = ["native"]

0 comments on commit 31cfe40

Please sign in to comment.