Skip to content

Commit

Permalink
Using tar sparse option
Browse files Browse the repository at this point in the history
  • Loading branch information
jneira authored Mar 16, 2022
1 parent d7d7b84 commit 11700f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ jobs:
if [[ ${{ runner.os }} == 'Windows' ]]; then
CABAL_EXEC=$(cygpath $CABAL_EXEC)
fi
tar -cvf cabal-head.tar -C $(dirname "$CABAL_EXEC") $(basename "$CABAL_EXEC")
# Using sparse(-S) option to fix bad. binaries in macOS
tar -Scvf cabal-head.tar -C $(dirname "$CABAL_EXEC") $(basename "$CABAL_EXEC")
echo "CABAL_EXEC_TAR=cabal-head.tar" >> $GITHUB_ENV
# We upload the cabal executable built with the ghc used in the release for:
Expand Down

0 comments on commit 11700f3

Please sign in to comment.