Skip to content

Commit

Permalink
actions: fi!
Browse files Browse the repository at this point in the history
  • Loading branch information
jay0lee committed Oct 27, 2024
1 parent 3440fa7 commit b2daeff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/actions/decrypt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit b2daeff

Please sign in to comment.