From 32de2290ea17f72d2887accb401f1630f3905591 Mon Sep 17 00:00:00 2001 From: Antonello Provenzano Date: Sun, 7 Jul 2024 14:45:36 +0200 Subject: [PATCH] Changes in the expression evaluation logic of the build workflow --- .github/workflows/build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fc2511b..ca2ef3d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,27 +22,27 @@ jobs: - uses: actions/checkout@v4 - name: Emit .NET 6.0 Framework Version (Ubuntu) - if: ${{ inputs.dotnet-version }} == '6.0.x' && startsWith(${{ inputs.os }}, 'ubuntu-') + if: ${{ inputs.dotnet-version == '6.0.x' && startsWith(inputs.os, 'ubuntu-') }} run: echo "DOTNET_FX_VERSION=net6.0" >> $GITHUB_ENV - name: Emit .NET 6.0 Framework Version (Windows) - if: ${{ inputs.dotnet-version }} == '6.0.x' && startsWith(${{ inputs.os }}, 'windows-') + if: ${{ inputs.dotnet-version == '6.0.x' && startsWith(inputs.os, 'windows-' }} run: echo "DOTNET_FX_VERSION=net6.0" >> $env:GITHUB_ENV - name: Emit .NET 7.0 Framework Version (Ubuntu) - if: ${{ inputs.dotnet-version }} == '7.0.x' && startsWith(${{ inputs.os }}, 'ubuntu-') + if: ${{ inputs.dotnet-version == '7.0.x' && startsWith(inputs.os, 'ubuntu-') }} run: echo "DOTNET_FX_VERSION=net7.0" >> $GITHUB_ENV - name: Emit .NET 7.0 Framework Version (Windows) - if: ${{ inputs.dotnet-version }} == '7.0.x' && startsWith(${{ inputs.os }}, 'windows-') + if: ${{ inputs.dotnet-version == '7.0.x' && startsWith(inputs.os, 'windows-') }} run: echo "DOTNET_FX_VERSION=net7.0" >> $env:GITHUB_ENV - name: Emit .NET 8.0 Framework Version (Ubuntu) - if: ${{ inputs.dotnet-version }} == '8.0.x' && startsWith(${{ inputs.os }}, 'ubuntu-') + if: ${{ inputs.dotnet-version == '8.0.x' && startsWith(inputs.os, 'ubuntu-') }} run: echo "DOTNET_FX_VERSION=net8.0" >> $GITHUB_ENV - name: Emit .NET 8.0 Framework Version (Windows) - if: ${{ inputs.dotnet-version }} == '8.0.x' && startsWith(${{ inputs.os }}, 'windows-') + if: ${{ inputs.dotnet-version == '8.0.x' && startsWith(inputs.os, 'windows-') }} run: echo "DOTNET_FX_VERSION=net8.0" >> $env:GITHUB_ENV - name: Setup .NET ${{ inputs.dotnet-version }} Framework