Skip to content

Commit 717c5bb

Browse files
committed
add pypi publishing
1 parent 3100440 commit 717c5bb

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/Tests.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
python-version: ${{ matrix.python-version }}
2222

2323
- name: Install test dependencies
24-
run: python -m pip install --no-cache-dir --quiet mypy coverage build
24+
run: python -m pip install --no-cache-dir mypy coverage build
2525

2626
- name: Run MyPy
2727
run: python -m mypy --cache-dir=/dev/null -p lambda_calculus
@@ -39,3 +39,11 @@ jobs:
3939
uses: codecov/codecov-action@v3
4040
with:
4141
flags: ${{ runner.os }}
42+
verbose: true
43+
44+
- name: Publish package
45+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
46+
uses: pypa/gh-action-pypi-publish@release/v1
47+
with:
48+
password: ${{ secrets.PYPI_API_TOKEN }}
49+
verbose: true

0 commit comments

Comments
 (0)