126c45e646
Signed-off-by: gardar <gardar@users.noreply.github.com>
13 lines
306 B
Bash
Executable File
13 lines
306 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
version="0.1.3"
|
|
src="https://github.com/gardar/ansible-test-molecule/releases/download/$version/ansible-test-molecule.sh"
|
|
|
|
# shellcheck disable=SC1090
|
|
if [[ -v GITHUB_TOKEN ]]
|
|
then
|
|
source <(curl -L -s -H "Authorization: token $GITHUB_TOKEN" $src)
|
|
else
|
|
source <(curl -L -s $src)
|
|
fi
|