Apply suggestions from code review

Co-authored-by: Yoann Chaudet <[email protected]>
This commit is contained in:
Dezmerean Robert
2022-08-09 21:49:27 +03:00
committed by GitHub
co-authored by Yoann Chaudet
parent ef7661905b
commit e361946409
+3 -3
View File
@@ -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 \