Actualiser entrypoint.sh
This commit is contained in:
parent
54de268522
commit
d4c2ff2d69
@ -6,8 +6,10 @@ if [ -z "$INPUT_DIRECTORY" ]; then
|
||||
INPUT_DIRECTORY="."
|
||||
fi
|
||||
|
||||
# Create the output directory
|
||||
OUTPUT_DIR=/github/workspace/output
|
||||
if [ -z "$OUTPUT_DIR" ]; then
|
||||
OUTPUT_DIR="${GITHUB_WORKSPACE}/output"
|
||||
fi
|
||||
|
||||
mkdir -m 777 -p $OUTPUT_DIR
|
||||
|
||||
# Set the output file path/filename
|
||||
@ -31,3 +33,5 @@ for item in $INPUT_REMOVE_FROM_PYROMOD; do
|
||||
fi
|
||||
zip -d "$OUTPUT_FILE" "$item"
|
||||
done
|
||||
|
||||
ls -lah $OUTPUT_DIR
|
||||
|
Loading…
Reference in New Issue
Block a user