From 665d20454c25bcbe5cd8cf3c08778491a0220d68 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Mon, 1 Aug 2022 17:48:11 -0500 Subject: [PATCH 1/2] fix: print a warning for macos-10.15 This will add a warning to all workflows that use this action on any macos platform. --- setup-cvmfs.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup-cvmfs.sh b/setup-cvmfs.sh index a904d9c..6900eab 100755 --- a/setup-cvmfs.sh +++ b/setup-cvmfs.sh @@ -15,6 +15,10 @@ if [ "$(uname)" == "Linux" ]; then rm -f cvmfs-config.deb fi elif [ "$(uname)" == "Darwin" ]; then + # Warn about the phasing out of MacOS support for this action + echo "::warning::The CernVM-FS GitHub Action's support for MacOS will be + phased out with macos-10.15, which will be unsupported by GitHub by 8/30/22. + See https://github.com/cvmfs-contrib/github-action-cvmfs/pull/17 for details." # Temporary fix for macOS until cvmfs 2.8 is released if [ -z "${CVMFS_HTTP_PROXY}" ]; then export CVMFS_HTTP_PROXY='DIRECT' From 206c40b0a1cb4275fdfc86abd8119723d2eab9c0 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Mon, 1 Aug 2022 17:57:18 -0500 Subject: [PATCH 2/2] fix: escape newlines on macos warning --- setup-cvmfs.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup-cvmfs.sh b/setup-cvmfs.sh index 6900eab..74163e5 100755 --- a/setup-cvmfs.sh +++ b/setup-cvmfs.sh @@ -16,9 +16,9 @@ if [ "$(uname)" == "Linux" ]; then fi elif [ "$(uname)" == "Darwin" ]; then # Warn about the phasing out of MacOS support for this action - echo "::warning::The CernVM-FS GitHub Action's support for MacOS will be - phased out with macos-10.15, which will be unsupported by GitHub by 8/30/22. - See https://github.com/cvmfs-contrib/github-action-cvmfs/pull/17 for details." + echo "::warning::The CernVM-FS GitHub Action's support for MacOS will be \ +phased out with macos-10.15, which will be unsupported by GitHub by 8/30/22. \ +See https://github.com/cvmfs-contrib/github-action-cvmfs/pull/17 for details." # Temporary fix for macOS until cvmfs 2.8 is released if [ -z "${CVMFS_HTTP_PROXY}" ]; then export CVMFS_HTTP_PROXY='DIRECT'