mirror of
https://github.com/actions/runner-images.git
synced 2025-12-18 07:46:57 +00:00
Don't create symlinks for PyPy 7.3.4 (#3134)
This commit is contained in:
@@ -56,8 +56,9 @@ function InstallPyPy
|
|||||||
echo "Create additional symlinks (Required for UsePythonVersion Azure DevOps task)"
|
echo "Create additional symlinks (Required for UsePythonVersion Azure DevOps task)"
|
||||||
cd $PYPY_TOOLCACHE_VERSION_ARCH_PATH/bin
|
cd $PYPY_TOOLCACHE_VERSION_ARCH_PATH/bin
|
||||||
|
|
||||||
ln -s $PYPY_MAJOR $PYTHON_MAJOR
|
# Starting from PyPy 7.3.4 these links are already included in the package
|
||||||
ln -s $PYTHON_MAJOR python
|
[ -f ./$PYTHON_MAJOR ] || ln -s $PYPY_MAJOR $PYTHON_MAJOR
|
||||||
|
[ -f ./python ] || ln -s $PYTHON_MAJOR python
|
||||||
|
|
||||||
chmod +x ./python ./$PYTHON_MAJOR
|
chmod +x ./python ./$PYTHON_MAJOR
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user