using no branch

This commit is contained in:
Marco Carrozzo
2023-01-16 11:26:25 +01:00
parent e893bcedd7
commit 9a0c88c21f
@@ -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