Skip to content

Commit

Permalink
fixes build (again)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Hausenblas <hausenbl@amazon.com>
  • Loading branch information
mhausenblas authored May 11, 2020
1 parent c2f30dc commit fac2eec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function print_info() {
echo -e "\e[36mINFO: ${1}\e[m"
}

if [ -n "${REQUIREMENTS}" && -f "${GITHUB_WORKSPACE}/${REQUIREMENTS}" ]; then
if [ -n "${REQUIREMENTS}" ] && [ -f "${GITHUB_WORKSPACE}/${REQUIREMENTS}" ]; then
pip install -r "${GITHUB_WORKSPACE}/${REQUIREMENTS}"
else
REQUIREMENTS="${GITHUB_WORKSPACE}/requirements.txt"
Expand Down

0 comments on commit fac2eec

Please sign in to comment.