- add new cwapi3d functions for build >= 30.0.593 #150
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Publish CwAPI3D Package | |
on: | |
push: | |
branches-ignore: | |
- 'main' | |
jobs: | |
build-and-publish: | |
name: Test Build and Publish | |
runs-on: 'ubuntu-latest' | |
environment: | |
name: testpypi | |
url: https://test.pypi.org/p/cwapi3d | |
permissions: | |
id-token: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- run: pip install build | |
- run: python -m build | |
- uses: pypa/gh-action-pypi-publish@release/v1 | |
with: | |
repository-url: https://test.pypi.org/legacy/ | |
skip-existing: true |