feat: ubuntu-2204 (#52)
* feat: ubuntu-2204 * remove unnecessary git-lfs install
This commit is contained in:
@@ -75,7 +75,7 @@ apt-get install -y git-lfs
|
||||
LSB_OS_VERSION="${VERSION_ID//\./}"
|
||||
echo "LSB_OS_VERSION=${LSB_OS_VERSION}" | tee -a "/etc/environment"
|
||||
|
||||
wget -qO "/imagegeneration/toolset.json" "https://raw.githubusercontent.com/actions/virtual-environments/main/images/linux/toolsets/toolset-${LSB_OS_VERSION}.json"
|
||||
wget -qO "/imagegeneration/toolset.json" "https://raw.githubusercontent.com/actions/virtual-environments/main/images/linux/toolsets/toolset-${LSB_OS_VERSION}.json" || echo "File not available"
|
||||
wget -qO "/imagegeneration/LICENSE" "https://raw.githubusercontent.com/actions/virtual-environments/main/LICENSE"
|
||||
|
||||
if [ "$(uname -m)" = x86_64 ]; then
|
||||
@@ -83,12 +83,6 @@ if [ "$(uname -m)" = x86_64 ]; then
|
||||
chmod +x "/usr/bin/jq"
|
||||
fi
|
||||
|
||||
if [[ "${VERSION_ID}" == "16.04" ]]; then
|
||||
printf 'git-lfs not available for Xenial'
|
||||
else
|
||||
apt-get -yq install --no-install-recommends --no-install-suggests git-lfs
|
||||
fi
|
||||
|
||||
printf "\n\t🐋 Updated apt lists and upgraded packages 🐋\t\n"
|
||||
|
||||
printf "\n\t🐋 Creating ~/.ssh and adding 'github.com' 🐋\t\n"
|
||||
|
||||
Reference in New Issue
Block a user