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