File tree 3 files changed +7
-8
lines changed
3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -32,11 +32,11 @@ runs:
32
32
allow-prereleases : true
33
33
update-environment : false
34
34
35
- - run : >
36
- pipx install \
37
- ${{ inputs.python-version != 'default' && format('--python "{0}"', steps.setup-python.outputs.python-path) || '' }} \
38
- '${{ inputs.poetry-spec }}'
35
+ - run : pipx install ${PYTHON_PATH:+--python "$PYTHON_PATH"} "${POETRY_SPEC}"
39
36
shell : bash
37
+ env :
38
+ PYTHON_PATH : ${{ inputs.python-version != 'default' && steps.setup-python.outputs.python-path || '' }}
39
+ POETRY_SPEC : ${{ inputs.poetry-spec }}
40
40
41
41
# Enable handling long path names (+260 char) on the Windows platform
42
42
# https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file#maximum-path-length-limitation
Original file line number Diff line number Diff line change 40
40
poetry-${{ steps.get-date.outputs.date }}-
41
41
enableCrossOsArchive : true
42
42
43
- - run : poetry install ${{ inputs.args } }
43
+ - run : poetry install ${ARGS }
44
44
shell : bash
45
+ env :
46
+ ARGS : ${{ inputs.args }}
45
47
46
48
- run : poetry env info
47
49
shell : bash
Original file line number Diff line number Diff line change 37
37
rev : v1.5.2
38
38
hooks :
39
39
- id : zizmor
40
- # types and files can be removed with https://github.com/woodruffw/zizmor-pre-commit/pull/2
41
- types : [yaml]
42
- files : \.github/workflows/.*$
You can’t perform that action at this time.
0 commit comments