mirror of
https://github.com/actions/upload-pages-artifact.git
synced 2026-02-08 19:35:24 +00:00
ignore all hidden files when creating zip
This commit is contained in:
committed by
GitHub
parent
1780dfc2ce
commit
7abc80a9c4
@@ -32,6 +32,7 @@ runs:
|
||||
-cvf "$RUNNER_TEMP/artifact.tar" \
|
||||
--exclude=.git \
|
||||
--exclude=.github \
|
||||
--exclude=".*" \
|
||||
.
|
||||
echo ::endgroup::
|
||||
env:
|
||||
@@ -49,6 +50,7 @@ runs:
|
||||
-cvf "$RUNNER_TEMP/artifact.tar" \
|
||||
--exclude=.git \
|
||||
--exclude=.github \
|
||||
--exclude=".*" \
|
||||
.
|
||||
echo ::endgroup::
|
||||
env:
|
||||
@@ -66,6 +68,7 @@ runs:
|
||||
-cvf "$RUNNER_TEMP\artifact.tar" \
|
||||
--exclude=.git \
|
||||
--exclude=.github \
|
||||
--exclude=".*" \
|
||||
--force-local \
|
||||
"."
|
||||
echo ::endgroup::
|
||||
|
||||
Reference in New Issue
Block a user