From 7abc80a9c40e40b24bfbb78d99c41d4072b11575 Mon Sep 17 00:00:00 2001 From: Fabian Aguilar Gomez Date: Fri, 6 Sep 2024 15:26:51 -0500 Subject: [PATCH] ignore all hidden files when creating zip --- action.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/action.yml b/action.yml index a19976e..b297eea 100644 --- a/action.yml +++ b/action.yml @@ -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::