mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 20:31:35 +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" \
|
--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"
|
||||||
|
|||||||
Reference in New Issue
Block a user