Commit 431c335 1 parent 9549b24 commit 431c335 Copy full SHA for 431c335
File tree 2 files changed +11
-8
lines changed
2 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -20,15 +20,18 @@ jobs:
20
20
steps :
21
21
- name : Checkout
22
22
uses : actions/checkout@v3
23
- - uses : jdx/mise-action@v2
24
- env :
25
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
26
- with :
27
- cache : false
23
+ - run : |
24
+ curl mise.run | sh
25
+ echo 'export PATH=$HOME/.local/bin:$PATH' >> $GITHUB_ENV
28
26
- run : mkdir -p ~/.local/share/mise/plugins
29
27
- run : ln -s $PWD ~/.local/share/mise/plugins/poetry
30
- - run : mise i poetry@latest
28
+ - run : mise i poetry@latest python
29
+ continue-on-error : true
30
+ env :
31
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
31
32
- run : mise x poetry@latest -- poetry --version
33
+ - run : cat poetry-installer-error-*.log && exit 1
34
+ if : failure()
32
35
33
36
lint :
34
37
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -44,9 +44,9 @@ install_poetry() {
44
44
fi
45
45
46
46
if [ " $install_type " = " version" ]; then
47
- curl -sSL " $install_url " | POETRY_HOME=$install_path python3 - --version " $version " $flags
47
+ curl -sSL " $install_url " | sed ' s/symlinks=False/symlinks=True/ ' | POETRY_HOME=$install_path python3 - --version " $version " $flags
48
48
elif [ " $install_type " = " ref" ]; then
49
- curl -sSL " $install_url " | POETRY_HOME=$install_path python3 - --git https://github.com/python-poetry/poetry.git@" $version " $flags
49
+ curl -sSL " $install_url " | sed ' s/symlinks=False/symlinks=True/ ' | POETRY_HOME=$install_path python3 - --git https://github.com/python-poetry/poetry.git@" $version " $flags
50
50
else
51
51
fail " unknown install type"
52
52
fi
You can’t perform that action at this time.
0 commit comments