1
0
mirror of https://github.com/ciromattia/kcc synced 2026-01-31 01:17:50 +00:00

pipeline python-package.yml python-package-test.yml

This commit is contained in:
darodi
2023-01-19 21:08:34 +01:00
parent 95e73ea1dd
commit 754395f1b3
2 changed files with 51 additions and 9 deletions

View File

@@ -22,6 +22,7 @@ on:
jobs:
release:
if: github.repository == 'ciromattia/kcc'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@@ -37,15 +38,6 @@ jobs:
- name: Build Dist
run: |
python setup.py sdist
- name: Release On TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
skip_existing: true
verbose: true
print_hash: true
- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with: