Publish to TestPyPI after wheels are built
parent
d0e25bc41b
commit
c17a3f80f1
|
@ -51,3 +51,22 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: cibw-wheels-cp${{ matrix.cibw_python_version }}-${{ matrix.platform_id }}
|
name: cibw-wheels-cp${{ matrix.cibw_python_version }}-${{ matrix.platform_id }}
|
||||||
path: wheelhouse/*.whl
|
path: wheelhouse/*.whl
|
||||||
|
|
||||||
|
upload_all:
|
||||||
|
name: Upload All
|
||||||
|
needs: build_wheels
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
id-token: write
|
||||||
|
steps:
|
||||||
|
- name: Download Artifacts
|
||||||
|
uses: actions/download-artifact@v4
|
||||||
|
with:
|
||||||
|
path: dist/
|
||||||
|
merge-multiple: true
|
||||||
|
|
||||||
|
- name: Publish to TestPyPI
|
||||||
|
uses: pypa/gh-action-pypi-publish@release/v1
|
||||||
|
with:
|
||||||
|
packages-dir: dist/
|
||||||
|
repository-url: https://test.pypi.org/legacy/
|
||||||
|
|
|
@ -40,4 +40,4 @@ cmake $PROJECT_DIR \
|
||||||
-DCMAKE_INSTALL_PREFIX=$PROJECT_DIR/gtsam_install
|
-DCMAKE_INSTALL_PREFIX=$PROJECT_DIR/gtsam_install
|
||||||
|
|
||||||
cd $PROJECT_DIR/build/python
|
cd $PROJECT_DIR/build/python
|
||||||
make -j$(nproc) install
|
make -j $(nproc) install
|
||||||
|
|
Loading…
Reference in New Issue