diff --git a/.github/actions/set-version-and-environment-profile/action.yml b/.github/actions/set-version-and-environment-profile/action.yml index df81f42f0a..de1be296c3 100644 --- a/.github/actions/set-version-and-environment-profile/action.yml +++ b/.github/actions/set-version-and-environment-profile/action.yml @@ -22,8 +22,8 @@ runs: echo "ENV_PROFILE=dev" >> $GITHUB_ENV echo "IS_RELEASE=false" >> $GITHUB_ENV - - name: "Set IS_RELEASE as true if we are on master branch or if it's a tag or branch starting with 'v1' or 'v2'" - if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v1') || startsWith(github.ref, 'refs/heads/v1') || startsWith(github.ref, 'refs/tags/v2') || startsWith(github.ref, 'refs/heads/v2') + - name: "Set IS_RELEASE as true if we are on master branch" + if: github.ref == 'refs/heads/master' shell: bash run: echo "IS_RELEASE=true" >> $GITHUB_ENV