Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Apply suggestions from code review
Co-authored-by: Yoann Chaudet <yoannchaudet@github.com>
  • Loading branch information
2 people authored and GitHub committed Aug 9, 2022
1 parent ef76619 commit e361946
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions action.yml
Expand Up @@ -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 \
Expand Down

0 comments on commit e361946

Please sign in to comment.