diff --git a/.github/workflows/_build_test_upload.yml b/.github/workflows/_build_test_upload.yml index e555e25f0..b6290a06d 100644 --- a/.github/workflows/_build_test_upload.yml +++ b/.github/workflows/_build_test_upload.yml @@ -43,7 +43,11 @@ jobs: elif [[ "${{ inputs.branch }}" == release/* ]] && [[ ${{ inputs.pre_dev_release }} == true ]]; then RELEASE_TYPE=test else - RELEASE_TYPE=nightly + if [[ "${{ github.base_ref }}" == release/* ]]; then + RELEASE_TYPE=test + else + RELEASE_TYPE=nightly + fi fi echo "Release Type: $RELEASE_TYPE" echo "::set-output name=type::$RELEASE_TYPE"