Skip to content

Commit

Permalink
fix: Upload to various private indexes. (#525)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxJPRey authored Jul 29, 2024
1 parent 12d53ac commit 5f4e326
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions release-pypi-private/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}
use-trusted-publisher: ${{ inputs.use-trusted-publisher }}

0 comments on commit 5f4e326

Please sign in to comment.