actions: gtar on MacOS

This commit is contained in:
Jay Lee
2024-10-27 16:20:41 -04:00
parent 5d0003ce93
commit 77bf001195

View File

@@ -27,6 +27,11 @@ gpg --batch \
--output "$credsfile" \ --output "$credsfile" \
"$gpgfile" "$gpgfile"
tar xlvvf "$credsfile" --directory "$credspath" if [[ "${RUNNER_OS}" == "macOS" ]]; then
tar="gtar"
else
tar="tar'
"$tar" xlvvf "$credsfile" --directory "$credspath"
rm -rvf "$gpgfile" rm -rvf "$gpgfile"
rm -rvf "$credsfile" rm -rvf "$credsfile"