initial commit
This commit is contained in:
8
utils/download/download.sh
Normal file
8
utils/download/download.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
URL="$1"
|
||||
OUTPUT_FILE="$2"
|
||||
if [[ -z "$OUTPUT_FILE" ]]; then
|
||||
OUTPUT_FILE="$(basename $URL)"
|
||||
fi
|
||||
wget $URL -O "$OUTPUT_FILE"
|
||||
echo "::set-output name=file::$OUTPUT_FILE"
|
||||
Reference in New Issue
Block a user