From 74db6613712fe2069bd9d6e04cfa1a951961ca23 Mon Sep 17 00:00:00 2001 From: mschwoerer <82171591+mschwoer@users.noreply.github.com> Date: Tue, 27 Aug 2024 12:32:34 +0200 Subject: [PATCH] add new publish on pypi workflow --- .github/workflows/publish_on_pypi.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/publish_on_pypi.yml diff --git a/.github/workflows/publish_on_pypi.yml b/.github/workflows/publish_on_pypi.yml new file mode 100644 index 00000000..4ccaaa0a --- /dev/null +++ b/.github/workflows/publish_on_pypi.yml @@ -0,0 +1,21 @@ +name: Publish on PyPi + +on: + workflow_dispatch: + inputs: + tag_to_release: + description: 'Enter tag to release (example: v1.5.5). A tag with the same name must exist in the repository.' + type: string + required: true + +jobs: + publish_on_pypi: + uses: MannLabs/alphashared/.github/workflows/publish_on_pypi.yml@v0 + with: + # see the documentation of the workflow for more information on the parameters + package_name: peptdeep + tag_to_release: ${{ inputs.tag_to_release }} + test_pypi_api_token: ${{ secrets.TEST_PYPI_PEPTDEEP_API_TOKEN }} + pypi_api_token: ${{ secrets.PYPI_PEPTDEEP_API_TOKEN }} + python_version: 3.9 + use_pyproject_toml: false