From f3c06da963920fb10879e1abb682b51156944b86 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Tue, 29 Dec 2020 09:09:20 -0500 Subject: [PATCH] Update action.yml --- action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index e8dfe3d..c7ea824 100644 --- a/action.yml +++ b/action.yml @@ -40,7 +40,8 @@ runs: export REF=${{ inputs.ref }} echo "::set-output name=base_ref_branch::${BASE_REF/refs\/heads\//}" echo "::set-output name=head_ref_branch::${HEAD_REF/refs\/heads\//}" - echo "::set-output name=ref_branch::${${REF/refs\/pull\//}/refs\/heads\//}" + REF_BRANCH=${REF/refs\/pull\//} + echo "::set-output name=ref_branch::${$REF_BRANCH/refs\/heads\//}" shell: bash branding: icon: git-branch