mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-28 09:51:36 +00:00
actions: gtar on MacOS
This commit is contained in:
7
.github/actions/decrypt.sh
vendored
7
.github/actions/decrypt.sh
vendored
@@ -27,6 +27,11 @@ gpg --batch \
|
||||
--output "$credsfile" \
|
||||
"$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 "$credsfile"
|
||||
|
||||
Reference in New Issue
Block a user