diff --git a/.github/actions/decrypt.sh b/.github/actions/decrypt.sh index b69a8927..3008fc8e 100755 --- a/.github/actions/decrypt.sh +++ b/.github/actions/decrypt.sh @@ -27,10 +27,11 @@ gpg --batch \ --output "$credsfile" \ "$gpgfile" -if [[ "${RUNNER_OS}" == "macOS" ]]; then +if [[ "$RUNNER_OS" == "macOS" ]]; then tar="gtar" else tar="tar" +fi "$tar" xlvvf "$credsfile" --directory "$credspath" rm -rvf "$gpgfile"