From 18f905b73a6a3cf1eb94ffd442fdeaa1ef16bb45 Mon Sep 17 00:00:00 2001 From: nir0s Date: Tue, 19 Dec 2023 09:57:29 +0200 Subject: [PATCH] Deploy artifacts to github --- .github/workflows/deploy.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 120db2f..9348ff0 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,10 +1,11 @@ name: "Deploy to PyPI" on: - workflow_dispatch: - inputs: - tag: - description: "Git tag to deploy to PyPI" - required: true + - push + # workflow_dispatch: + # inputs: + # tag: + # description: "Git tag to deploy to PyPI" + # required: true jobs: deploy: @@ -25,3 +26,7 @@ jobs: python -m build python -m twine check dist/* python -m twine upload --username=__token__ --password=${{ secrets.PYPI_TOKEN }} dist/* + - uses: actions/upload-artifact@v4 + with: + name: ${{ github.event.inputs.tag }}-test + path: dist/* \ No newline at end of file