Skip to content

Implements new pypi publish. #8

Implements new pypi publish.

Implements new pypi publish. #8

Workflow file for this run

name: Test Publish CwMath 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/cwmath
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
# - run: python -m pip install --upgrade pip
# - run: pip install pip-tools
- run: pip install build
# - run: pip-sync
- run: python -m build
- uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/