Skip to content

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
humbletim committed Sep 26, 2024
1 parent d08d6b0 commit bdc6f09
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gha/gha.upload-artifact.bash
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ function gha-upload-artifact() {(
INPUT_retention-days=${3:-1}
INPUT_compression-level=${4:-0}
INPUT_overwrite=${5:-false}
INPUT_include-hidden-files=true
INPUT_if-no-files-found=error # warn | error | ignore
)

Expand Down Expand Up @@ -77,6 +78,7 @@ function gha-upload-artifact-fast() {(
INPUT_retention-days=${3:-1} \
INPUT_compression-level=${4:-0} \
INPUT_overwrite=${5:-false} \
INPUT_include-hidden-files=true \
INPUT_if-no-files-found=error \
/c/Program\ Files/nodejs/node /d/a/_actions/actions/upload-artifact/v4/dist/upload/index.js || return $?
echo "uploaded: ${INPUT_path}" >&2
Expand All @@ -103,4 +105,4 @@ EOF

function gha-patch-upload-artifact() {(
cd /d/a/_actions/actions/upload-artifact/v4 && echo "$upload_artifact_patch" | patch -p1
)}
)}

0 comments on commit bdc6f09

Please sign in to comment.