mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
Fix
This commit is contained in:
@@ -19,13 +19,11 @@ for package in $pipx_packages; do
|
|||||||
echo "Install $package into python $python_path"
|
echo "Install $package into python $python_path"
|
||||||
pipx install $package --python $python_path
|
pipx install $package --python $python_path
|
||||||
fi
|
fi
|
||||||
done
|
|
||||||
|
|
||||||
# Run tests to determine that the software installed as expected
|
# Run tests to determine that the software installed as expected
|
||||||
echo "Testing to make sure that script performed as expected, and basic scenarios work"
|
cmd=$(jq ".pipx[] | select(.package == $package) .cmd" $toolset)
|
||||||
for cmd in $pipx_packages; do
|
|
||||||
if ! command -v $cmd; then
|
if ! command -v $cmd; then
|
||||||
echo "$cmd was not installed"
|
echo "$package was not installed"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|||||||
@@ -192,11 +192,13 @@
|
|||||||
"pipx": [
|
"pipx": [
|
||||||
{
|
{
|
||||||
"package": "yamllint",
|
"package": "yamllint",
|
||||||
"python": "default"
|
"python": "default",
|
||||||
|
"cmd": "yamllint"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"package": "aws-sam-cli",
|
"package": "aws-sam-cli",
|
||||||
"python": "/opt/hostedtoolcache/Python/3.7*/x64/bin/python3.7"
|
"python": "/opt/hostedtoolcache/Python/3.7*/x64/bin/python3.7",
|
||||||
|
"cmd": "sam"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -155,11 +155,13 @@
|
|||||||
"pipx": [
|
"pipx": [
|
||||||
{
|
{
|
||||||
"package": "yamllint",
|
"package": "yamllint",
|
||||||
"python": "default"
|
"python": "default",
|
||||||
|
"cmd": "yamllint"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"package": "aws-sam-cli",
|
"package": "aws-sam-cli",
|
||||||
"python": "/opt/hostedtoolcache/Python/3.7*/x64/bin/python3.7"
|
"python": "/opt/hostedtoolcache/Python/3.7*/x64/bin/python3.7",
|
||||||
|
"cmd": "sam"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user