Skip to content

Commit

Permalink
fix condition on arm pip installation
Browse files Browse the repository at this point in the history
  • Loading branch information
leiicamundi committed Mar 4, 2024
1 parent f4c9729 commit 65f4c54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common-tooling/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ runs:
nogil: ${{ inputs.python-deadsnakes-nogil }}

- name: Add Python3 Shortcut and add pip (ARM)
if: ${{ contains(runner.arch, 'arm') }}
if: ${{ contains(runner.arch, 'arm') && inputs.python-enabled == 'true' && ( env.python_missing == 'true' || inputs.overwrite == 'true' ) }}
shell: bash
run: |
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 1
Expand Down

0 comments on commit 65f4c54

Please sign in to comment.