Skip to content

Merge pull request #18 from opencomputeproject/bugfix/handle-empty-st… #5

Merge pull request #18 from opencomputeproject/bugfix/handle-empty-st…

Merge pull request #18 from opencomputeproject/bugfix/handle-empty-st… #5

Workflow file for this run

name: publish
on:
push:
branches: [main]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install python
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build twine
- name: Build sdist and wheel
run: |
python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
print-hash: true