Is it possible to references env variables inside env properties?

env:
  FLAVOUR: ${{ github.base_ref }}
  TYPE: debug
  BUILD_VARIANT: $FLAVOUR$TYPE

When trying to echo the $BUILD_VARIANT it prints literal $FLAVOUR$TYPE instead. Using double-quoted string also not works.

Is there any workaround suggested? or is it not possible atm?

When debugging, this seems not possible atm, therefore we use hardcoded string instead or manually export BUILD_VARIANT="${FLAVOUR}${TYPE}" this ways instead

As shown in the below images, it’s showing literal $FLAVOUR instead of the value dev

This is not works as well:

BUILD_VARIANT: ${{ FLAVOUR }}

BUILD_VARIANT: ${{ env.FLAVOUR }}

BUILD_VARIANT: ${{ $FLAVOUR }}