From e361946409ca6c2785db51e594f65f03fc3e4070 Mon Sep 17 00:00:00 2001 From: Dezmerean Robert Date: Tue, 9 Aug 2022 21:49:27 +0300 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Yoann Chaudet --- action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/action.yml b/action.yml index 8df3585..0d354cb 100644 --- a/action.yml +++ b/action.yml @@ -24,13 +24,13 @@ runs: --exclude=.github \ . - # Remove the --hard-dereference option for macOS only + # Switch to gtar (GNU tar instead of bsdtar which is the default in the MacOS runners so we can use --hard-dereference) - name: Archive artifact shell: bash if: runner.os == 'macOS' run: | - tar \ - --dereference \ + gtar \ + --dereference --hard-dereference \ --directory ${{ inputs.path }} \ -cvf ${{ runner.temp }}/artifact.tar \ --exclude=.git \