44if [ " $( uname) " == " Linux" ]; then
55 # download from cache
66 if [ -n " ${APT_CACHE} " ]; then
7+ echo " ::group::Using cache"
78 echo " Copying cache from ${APT_CACHE} to system locations..."
89 mkdir -p ${APT_CACHE} /archives/ ${APT_CACHE} /lists/
910 sudo cp -r ${APT_CACHE} /archives /var/cache/apt
1011 sudo cp -r ${APT_CACHE} /lists /var/lib/apt
12+ echo " ::endgroup::"
1113 fi
1214 # install cvmfs release package
15+ echo " ::group::Installing cvmfs-release"
1316 APT_ARCHIVES=/var/cache/apt/archives/
1417 if [ ! -f ${APT_ARCHIVES} /cvmfs-release-latest_all.deb ] ; then
1518 sudo curl -L -o ${APT_ARCHIVES} /cvmfs-release-latest_all.deb ${CVMFS_UBUNTU_DEB_LOCATION}
1619 fi
1720 sudo dpkg -i ${APT_ARCHIVES} /cvmfs-release-latest_all.deb
21+ echo " ::endgroup::"
1822 # install cvmfs package
23+ echo " ::group::Installing cvmfs"
1924 sudo apt-get -q update
2025 sudo apt-get -q -y install cvmfs
2126 # install cvmfs config package
@@ -25,12 +30,15 @@ if [ "$(uname)" == "Linux" ]; then
2530 sudo curl -L -o ${APT_ARCHIVES} /cvmfs-config.deb ${CVMFS_CONFIG_PACKAGE}
2631 sudo dpkg -i ${APT_ARCHIVES} /cvmfs-config.deb
2732 fi
33+ echo " ::endgroup::"
2834 # update cache (avoid restricted partial directories)
2935 if [ -n " ${APT_CACHE} " ]; then
36+ echo " ::group::Updating cache"
3037 echo " Copying cache from system locations to ${APT_CACHE} ..."
3138 mkdir -p ${APT_CACHE} /archives/ ${APT_CACHE} /lists/
3239 cp /var/cache/apt/archives/* .deb ${APT_CACHE} /archives/
3340 cp /var/lib/apt/lists/* _dists_* ${APT_CACHE} /lists/
41+ echo " ::endgroup::"
3442 fi
3543elif [ " $( uname) " == " Darwin" ]; then
3644 # Warn about the phasing out of MacOS support for this action
5058
5159${ACTION_PATH} /createConfig.sh
5260
53- echo " Run cvmfs_config setup"
61+ echo " ::group::Running cvmfs_config setup"
5462sudo cvmfs_config setup
5563retCongif=$?
5664if [ $retCongif -ne 0 ]; then
5765 echo " !!! github-action-cvmfs FAILED !!!"
5866 echo " cvmfs_config setup exited with ${retCongif} "
5967 exit $retCongif
6068fi
69+ echo " ::endgroup::"
6170
6271
6372if [ " $( uname) " == " Darwin" ]; then
0 commit comments