Skip to content

Merge pull request #33 from Terseus/pre-commit-ci-update-config #19

Merge pull request #33 from Terseus/pre-commit-ci-update-config

Merge pull request #33 from Terseus/pre-commit-ci-update-config #19

Workflow file for this run

name: Publish package
on:
push:
branches:
- master
workflow_dispatch:
jobs:
test_pypi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install build
- name: Build wheel and sdist
run: |
python -m build --sdist --wheel --outdir dist/
- name: Publish to https://test.pypi.org/
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.TEST_PYPI_TOKEN }}
repository_url: https://test.pypi.org/legacy/