diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml index 27587459..5085d7b0 100644 --- a/.github/workflows/create_release.yml +++ b/.github/workflows/create_release.yml @@ -1,4 +1,5 @@ # Create a draft release and build and upload all installers to it. +name: Create Draft Release on: workflow_dispatch: diff --git a/.github/workflows/publish_on_pypi.yml b/.github/workflows/publish_on_pypi.yml index 4ccaaa0a..0e670cf9 100644 --- a/.github/workflows/publish_on_pypi.yml +++ b/.github/workflows/publish_on_pypi.yml @@ -1,3 +1,4 @@ +# Publish and test releases on Test-PyPI and PyPI. name: Publish on PyPi on: @@ -15,7 +16,8 @@ jobs: # 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 + secrets: + test_pypi_api_token: ${{ secrets.TEST_PYPI_PEPTDEEP_API_TOKEN }} + pypi_api_token: ${{ secrets.PYPI_PEPTDEEP_API_TOKEN }}