File tree Expand file tree Collapse file tree 2 files changed +15
-4
lines changed
Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 22name : Configure Poetry for Windows
33description : GitHub Action to configure a poetry project for windows runner
44
5+ inputs :
6+ poetry_version :
7+ description : The version of poetry to install
8+ default : 2.2.1
59outputs :
610 BUILD_NUMBER :
711 description : The build number, incremented or reused if already cached
4246 id : install_poetry
4347 shell : bash
4448 run : |
45- pip install poetry==2.2.1
49+ pip install poetry==${{ inputs.poetry_version }}
4650 - name : Config Poetry
4751 id : config
4852 shell : bash
Original file line number Diff line number Diff line change 22name : Configure Poetry
33description : GitHub Action to configure a poetry project
44
5+ inputs :
6+ poetry_version :
7+ description : The version of poetry to install
8+ default : 2.2.1
9+ jfrog_version :
10+ description : The version of jFrog to install
11+ default : 2.77.0
512outputs :
613 BUILD_NUMBER :
714 description : The build number, incremented or reused if already cached
2734 - uses : jdx/mise-action@5ac50f778e26fac95da98d50503682459e86d566 # v3.2.0
2835 with :
2936 version : 2025.7.12
30- install_args : " jfrog-cli@2.77.0 poetry@2.2.1 "
37+ install_args : " jfrog-cli@${{ inputs.jfrog_version }} poetry@${{ inputs.poetry_version}} "
3138 - name : Vault
3239 # yamllint disable rule:line-length
3340 id : secrets
4451 ARTIFACTORY_PYPI_REPO : sonarsource-pypi
4552 ARTIFACTORY_ACCESS_TOKEN : ${{ fromJSON(steps.secrets.outputs.vault).ARTIFACTORY_ACCESS_TOKEN }}
4653 run : |
47- mise use -g poetry@2.2.1
48- mise use -g jfrog-cli@2.77.0
54+ mise use -g poetry@${{ inputs.poetry_version }}
55+ mise use -g jfrog-cli@${{ inputs.jfrog_version }}
4956 ${GITHUB_ACTION_PATH}/../../scripts/config-poetry.sh
5057
You can’t perform that action at this time.
0 commit comments