From 0da4ec27fc8f292ee1bcffa89ef381057deee241 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Fri, 11 Dec 2020 08:30:26 -0500 Subject: [PATCH] switch to use inputs. --- entrypoint.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 8784ced..0ff7b61 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -2,6 +2,6 @@ set -e -echo "::set-output name=base_ref_branch::${INPUT_BASE_REF/refs\/heads\//}" -echo "::set-output name=head_ref_branch::${INPUT_HEAD_REF/refs\/heads\//}" -echo "::set-output name=ref_branch::${INPUT_REF/refs\/heads\//}" +echo "::set-output name=base_ref_branch::${0/refs\/heads\//}" +echo "::set-output name=head_ref_branch::${1/refs\/heads\//}" +echo "::set-output name=ref_branch::${2/refs\/heads\//}"