Skip to content

Merge branch 'feature/command-line' of https://github.com/cwapi3d/cwa… #238

Merge branch 'feature/command-line' of https://github.com/cwapi3d/cwa…

Merge branch 'feature/command-line' of https://github.com/cwapi3d/cwa… #238

Workflow file for this run

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
contents: read
steps:
- uses: actions/checkout@v6
- uses: dorny/paths-filter@v4.0.1
id: changes
with:
filters: |
src:
- 'src/**'
- if: steps.changes.outputs.src == 'true'
uses: actions/setup-python@v6
with:
python-version: '3.14'
- if: steps.changes.outputs.src == 'true'
run: pip install build
- if: steps.changes.outputs.src == 'true'
run: python -m build
- if: steps.changes.outputs.src == 'true'
uses: pypa/gh-action-pypi-publish@release/v1.14
with:
repository-url: https://test.pypi.org/legacy/
skip-existing: true