1
0
Fork 0
mirror of https://github.com/actions/checkout.git synced 2025-03-28 19:10:06 +01:00

fix script

This commit is contained in:
eric sciple 2021-10-19 14:20:27 -05:00
parent 90cfc06573
commit af2555f589
3 changed files with 11 additions and 1 deletions

View file

@ -1,3 +1,5 @@
#!/bin/bash
set -e
src/misc/licensed-download.sh

View file

@ -1,3 +1,5 @@
#!/bin/bash
set -e
if [ ! -f _temp/licensed-3.3.1.done ]; then
@ -7,7 +9,11 @@ if [ ! -f _temp/licensed-3.3.1.done ]; then
echo 'Downloading licensed'
mkdir -p _temp/licensed-3.3.1
pushd _temp/licensed-3.3.1
curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/3.3.1/licensed-3.3.1-darwin-x64.tar.gz
if [[ "$OSTYPE" == "darwin"* ]]; then
curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/3.3.1/licensed-3.3.1-darwin-x64.tar.gz
else
curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/3.3.1/licensed-3.3.1-linux-x64.tar.gz
fi
echo 'Extracting licenesed'
tar -xzf licensed.tar.gz

View file

@ -1,3 +1,5 @@
#!/bin/bash
set -e
src/misc/licensed-download.sh