Skip to content

Commit

Permalink
actions: gtar on MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
jay0lee committed Oct 27, 2024
1 parent 5d0003c commit 77bf001
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/actions/decrypt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 77bf001

Please sign in to comment.