diff --git a/.github/actions/travis-env-var-facade/action.yml b/.github/actions/travis-env-var-facade/action.yml index c7d44a9864..8eaf08fa5a 100644 --- a/.github/actions/travis-env-var-facade/action.yml +++ b/.github/actions/travis-env-var-facade/action.yml @@ -36,16 +36,16 @@ runs: elif [[ "${{ inputs.event_name }}" =~ $REGEX ]]; then EVENT_TYPE="api"; fi - - if [[ ${{ inputs.branch_name }} == "master" ]]; then - echo "Set up TAG_NPM to latest on master branch" - TAG_NPM="latest" - fi - if [[ ${{ inputs.branch_name }} == "develop" ]]; then - echo "Set up TAG_NPM to alpha on develop branch" - TAG_NPM="alpha" - fi - echo "TAG_NPM=${TAG_NPM}" >> $GITHUB_ENV echo "TRAVIS_EVENT_TYPE=${EVENT_TYPE}" >> $GITHUB_ENV echo "TRAVIS_PULL_REQUEST_BRANCH=${TRAVIS_PULL_REQUEST_BRANCH}" >> $GITHUB_ENV echo "TRAVIS_BRANCH=${TRAVIS_BRANCH}" >> $GITHUB_ENV + + + - name: set TAG_NPM to latest + shell: bash + if: ${{ inputs.branch_name }} == "master" + run: echo "TAG_NPM=latest" >> $GITHUB_ENV + - name: set TAG_NPM to alpha + shell: bash + if: ${{ inputs.branch_name }} == "develop" + run: echo "TAG_NPM=alpha" >> $GITHUB_ENV diff --git a/.github/workflows/devel.yml b/.github/workflows/devel.yml index aaf348a49e..10b4dd804d 100644 --- a/.github/workflows/devel.yml +++ b/.github/workflows/devel.yml @@ -63,5 +63,5 @@ jobs: with: fetch-depth: 1 - uses: ./.github/actions/npm-check-bundle - # with: - # branch_name: ${{ env.GITHUB_BRANCH }} + with: + branch_name: master