From 127dec783ac6106c6b64feca8f6c0ceed540c801 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Fri, 11 Dec 2020 08:44:08 -0500 Subject: [PATCH] Updated steps. --- action.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/action.yml b/action.yml index b8b0765..05b7910 100644 --- a/action.yml +++ b/action.yml @@ -35,9 +35,12 @@ runs: steps: - id: branch run: | - 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\//}" + export BASE_REF=${{ inputs.base_ref }} + export HEAD_REF=${{ inputs.head_ref }} + 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\/heads\//}" shell: bash branding: icon: git-branch