From 3f55fb66b0393e151ac6f90310541781cdc28953 Mon Sep 17 00:00:00 2001 From: Maxime Rey <87315832+MaxJPRey@users.noreply.github.com> Date: Thu, 25 Jul 2024 09:49:19 +0200 Subject: [PATCH] index-name was previously hardcoded. --- release-pypi-private/action.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/release-pypi-private/action.yml b/release-pypi-private/action.yml index 96ddefcd0..1d609d5f7 100644 --- a/release-pypi-private/action.yml +++ b/release-pypi-private/action.yml @@ -99,6 +99,13 @@ inputs: default: '3.10' type: string + index-name: + description: > + The name of the index endpoint used for uploading the artifacts. + required: true + default: "https://pkgs.dev.azure.com/pyansys/_packaging/pyansys/pypi/upload" + type: string + runs: using: "composite" steps: @@ -107,10 +114,10 @@ runs: uses: ansys/actions/_release-pypi@main with: library-name: ${{ inputs.library-name }} - index-name: "https://pkgs.dev.azure.com/pyansys/_packaging/pyansys/pypi/upload" + index-name: ${{ inputs.index-name }} twine-username: ${{ inputs.twine-username }} twine-token: ${{ inputs.twine-token }} python-version: ${{ inputs.python-version }} dry-run: ${{ inputs.dry-run }} skip-existing: ${{ inputs.skip-existing }} - use-trusted-publisher: ${{ inputs.use-trusted-publisher }} \ No newline at end of file + use-trusted-publisher: ${{ inputs.use-trusted-publisher }}