From 1437d700a39fd5e39324ec7441076804438ffe8f Mon Sep 17 00:00:00 2001 From: silverqx Date: Mon, 12 Aug 2024 22:43:48 +0200 Subject: [PATCH] workflows bugfix pwsh comparison operator --- .github/workflows/msvc2022-qt6-drivers.yml | 2 +- .github/workflows/msvc2022-qt6.yml | 2 +- .github/workflows/vcpkg-windows-drivers.yml | 2 +- .github/workflows/vcpkg-windows.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/msvc2022-qt6-drivers.yml b/.github/workflows/msvc2022-qt6-drivers.yml index c8c0b0837..68b732ad8 100644 --- a/.github/workflows/msvc2022-qt6-drivers.yml +++ b/.github/workflows/msvc2022-qt6-drivers.yml @@ -291,7 +291,7 @@ jobs: - name: TinyOrm print linker version working-directory: ${{ env.TinyORMBuildTree }} run: | - $tinyTinyOrm = '${{ matrix.build-type.key }}' == 'debug' ? 'TinyOrm0d.dll' : 'TinyOrm0.dll' + $tinyTinyOrm = '${{ matrix.build-type.key }}' -ceq 'debug' ? 'TinyOrm0d.dll' : 'TinyOrm0.dll' dumpbin.exe /HEADERS .\$tinyTinyOrm | Select-String -SimpleMatch 'linker version' diff --git a/.github/workflows/msvc2022-qt6.yml b/.github/workflows/msvc2022-qt6.yml index d30362b42..fb447194a 100644 --- a/.github/workflows/msvc2022-qt6.yml +++ b/.github/workflows/msvc2022-qt6.yml @@ -754,7 +754,7 @@ jobs: - name: TinyOrm print linker version working-directory: ${{ env.TinyORMBuildTree }} run: | - $tinyTinyOrm = '${{ matrix.build-type.key }}' == 'debug' ? 'TinyOrm0d.dll' : 'TinyOrm0.dll' + $tinyTinyOrm = '${{ matrix.build-type.key }}' -ceq 'debug' ? 'TinyOrm0d.dll' : 'TinyOrm0.dll' dumpbin.exe /HEADERS .\$tinyTinyOrm | Select-String -SimpleMatch 'linker version' diff --git a/.github/workflows/vcpkg-windows-drivers.yml b/.github/workflows/vcpkg-windows-drivers.yml index 43edd7b57..9031ac524 100644 --- a/.github/workflows/vcpkg-windows-drivers.yml +++ b/.github/workflows/vcpkg-windows-drivers.yml @@ -427,7 +427,7 @@ jobs: - name: TinyOrm print linker version (${{ env.HelloWorldManualBuildName }}) working-directory: ${{ env.TinyORMManualBuildTree }} run: | - $tinyTinyOrm = '${{ matrix.build-type.key }}' == 'debug' ? 'TinyOrm0d.dll' : 'TinyOrm0.dll' + $tinyTinyOrm = '${{ matrix.build-type.key }}' -ceq 'debug' ? 'TinyOrm0d.dll' : 'TinyOrm0.dll' dumpbin.exe /HEADERS .\$tinyTinyOrm | Select-String -SimpleMatch 'linker version' diff --git a/.github/workflows/vcpkg-windows.yml b/.github/workflows/vcpkg-windows.yml index 0c809c073..4318fd908 100644 --- a/.github/workflows/vcpkg-windows.yml +++ b/.github/workflows/vcpkg-windows.yml @@ -380,7 +380,7 @@ jobs: - name: TinyOrm print linker version (${{ env.HelloWorldManualBuildName }}) working-directory: ${{ env.TinyORMManualBuildTree }} run: | - $tinyTinyOrm = '${{ matrix.build-type.key }}' == 'debug' ? 'TinyOrm0d.dll' : 'TinyOrm0.dll' + $tinyTinyOrm = '${{ matrix.build-type.key }}' -ceq 'debug' ? 'TinyOrm0d.dll' : 'TinyOrm0.dll' dumpbin.exe /HEADERS .\$tinyTinyOrm | Select-String -SimpleMatch 'linker version'