Skip to content

Commit

Permalink
Fix action on MacOS on GHA
Browse files Browse the repository at this point in the history
The current MacOS environment (Catalina 10.15) on GHA has python linked
to Python 2.7 ... so let's use python3 as the binary then!
  • Loading branch information
ichard26 committed May 19, 2021
1 parent f54a531 commit 16223d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Expand Up @@ -64,9 +64,9 @@ runs:
fi
if [ -z "${{ inputs.version }}" ]; then
pipcmd="python$suffix -m pip install black[colorama]"
pipcmd="python3$suffix -m pip install black[colorama]"
else
pipcmd="python$suffix -m pip install black[colorama]==${{inputs.version}}"
pipcmd="python3$suffix -m pip install black[colorama]==${{inputs.version}}"
fi
echo "running from virtual environment '$pipcmd'"
Expand Down

0 comments on commit 16223d3

Please sign in to comment.