File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,9 @@ inputs:
2828 archive :
2929 description : ' Zip to be used for deployment, instead of archiving a directory.'
3030 required : false
31+ custom_zip_flags :
32+ description : ' Custom flags to be passed to zip during archiving.'
33+ required : false
3134 excluded_files :
3235 description : ' Files to be excluded during archiving (space delimited).'
3336 required : false
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ if [ -z "$INPUT_ARCHIVE" ]; then
6464 cd " $DIR_TO_ZIP " ;
6565 fi
6666
67- zip -r --quiet " $ZIP_FILENAME " . -x " @$EXCLUSION_FILE "
67+ zip " $INPUT_CUSTOM_ZIP_FLAGS " -r --quiet " $ZIP_FILENAME " . -x " @$EXCLUSION_FILE "
6868 if [ ! -f " $ZIP_FILENAME " ]; then
6969 echo " ::error::$ZIP_FILENAME was not generated properly (zip generation failed)."
7070 exit 1;
You can’t perform that action at this time.
0 commit comments