There was an error while loading. Please reload this page.
1 parent 04287f8 commit c5248fdCopy full SHA for c5248fd
1 file changed
.github/actions/ci-setup/action.yml
@@ -7,6 +7,9 @@ inputs:
7
python-version:
8
description: "The python version to install and setup"
9
required: true
10
+ poetry-version:
11
+ description: "The poetry version to install and setup"
12
+ default: "2.2.1"
13
14
runs:
15
using: composite
@@ -15,12 +18,12 @@ runs:
18
uses: actions/setup-python@v4
16
19
with:
17
20
python-version: ${{ inputs.python-version }}
- - name: Install Poetry
21
+ - name: Install Poetry ${{ inputs.poetry-version }}
22
uses: snok/install-poetry@v1
23
24
virtualenvs-create: true
25
virtualenvs-in-project: true
- version: "2.2.1"
26
+ version: ${{ inputs.poetry-version }}
27
- name: add poetry to windows path
28
if: runner.os == 'Windows'
29
run: echo "C:/Users/runneradmin/.local/bin" >> $GITHUB_PATH
0 commit comments