Fix #25749: Windows release builds are not built with LTCG (#25895)

This commit is contained in:
mix authored and GitHub committed 2026-01-31 10:31:38 +01:00
1 parent 3bf16febf6
commit bb39b5baee
1 file changed
+1 -1
+1 -1
View File
@@ -198,7 +198,7 @@ jobs:
- name: Setup environment
run: |
BRANCH=$(echo $GITHUB_REF | cut -d'/' -f 3)
if [[ $BRANCH == 'develop' || $BRANCH == 'master' ]]; then
if [[ $BRANCH == 'develop' || $GITHUB_REF_TYPE == 'tag' ]]; then
echo "CONFIGURATION=ReleaseLTCG" >> "$GITHUB_ENV"
else
echo "CONFIGURATION=Release" >> "$GITHUB_ENV"