mirror of
https://github.com/Ryujinx/Ryujinx-Mako.git
synced 2025-08-17 00:01:19 +00:00
Ensure python and pipx are installed
This commit is contained in:
parent
df0b94ba77
commit
9560921805
16
.github/actions/setup-mako/action.yml
vendored
16
.github/actions/setup-mako/action.yml
vendored
|
@ -9,7 +9,21 @@ runs:
|
||||||
echo "mako=$(realpath '${{ github.action_path }}/../../../')" >> $GITHUB_OUTPUT
|
echo "mako=$(realpath '${{ github.action_path }}/../../../')" >> $GITHUB_OUTPUT
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- run: pipx install poetry
|
- uses: actions/setup-python@v4
|
||||||
|
with:
|
||||||
|
cache: 'poetry'
|
||||||
|
|
||||||
|
- name: Ensure pipx is available
|
||||||
|
run: |
|
||||||
|
if ! command -v pipx > /dev/null 2>&1; then
|
||||||
|
echo "$HOME/.local/bin" >> $GITHUB_PATH
|
||||||
|
python3 -m pip install --user pipx
|
||||||
|
python3 -m pipx ensurepath
|
||||||
|
fi
|
||||||
|
shell: bash
|
||||||
|
|
||||||
|
- name: Install poetry
|
||||||
|
run: pipx install poetry
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
|
|
Loading…
Reference in a new issue