Skip to content

Move build to PEP 517 #11

Move build to PEP 517

Move build to PEP 517 #11

Workflow file for this run

on: [push, pull_request]
jobs:
publish:
name: build and publish to testpypi
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: install, test cli
run: |
pip3 install .
python3 -m gwh --help
- name: install dependencies & build
run: |
pip3 install build
python3 -m build
- name: publish to Test PyPi
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip_existing: true
user: __token__
password: ${{ secrets.TEST_PYPI_TOKEN }}
repository_url: https://test.pypi.org/legacy/