switch to use inputs.

This commit is contained in:
Tonye Jack 2020-12-11 08:30:26 -05:00
parent 304b15fc39
commit 0da4ec27fc

View File

@ -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\//}"