From 9a0c88c21f17ecc8e1a5b86bd77ab64c1afec846 Mon Sep 17 00:00:00 2001 From: Marco Carrozzo Date: Mon, 16 Jan 2023 11:26:25 +0100 Subject: [PATCH] using no branch --- .github/actions/travis-env-var-facade/action.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/actions/travis-env-var-facade/action.yml b/.github/actions/travis-env-var-facade/action.yml index 47beb0eb03..9e9242910e 100644 --- a/.github/actions/travis-env-var-facade/action.yml +++ b/.github/actions/travis-env-var-facade/action.yml @@ -41,6 +41,12 @@ runs: echo "TRAVIS_BRANCH=${TRAVIS_BRANCH}" >> $GITHUB_ENV + - name: TAG_NPM not set + shell: bash + if: "${{ inputs.branch_name == '' }}" + run: | + echo "TAG_NPM not set" + exit 1 - name: set TAG_NPM to latest shell: bash if: "${{ inputs.branch_name == 'master' }}" @@ -49,9 +55,3 @@ runs: shell: bash if: "${{ inputs.branch_name == 'develop' }}" run: echo "TAG_NPM=alpha" >> $GITHUB_ENV - - name: TAG_NPM not set - shell: bash - if: "${{ inputs.branch_name == '' }}" - run: | - echo "TAG_NPM not set" - exit 1