From 995a6f1e9aeb5d15d4813275e6ef8c53f093ee7e Mon Sep 17 00:00:00 2001 From: Paul Colby Date: Thu, 16 Nov 2023 21:48:12 +1100 Subject: [PATCH] Show the built CLI's version on Windows too We have to do this in a Bash shell, since in the cmd shell Qt will show the version in a message box (which is, debatably, poor Qt behaviour; eg https://bugreports.qt.io/browse/QTBUG-114530). --- .github/workflows/build.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 64f818d97..422f8f8a1 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -367,8 +367,11 @@ jobs: copy /v /b src\cli\dokit.exe /b portable cd portable windeployqt --compiler-runtime --release --verbose 2 dokit.exe ${{ matrix.dll }} - :: dokit.exe --version working-directory: ${{ runner.temp }} + - name: Check portable + if: matrix.arch != 'arm64' + shell: bash + run: "$RUNNER_TEMP/portable/dokit.exe" --version - name: Setup artifacts shell: bash run: echo "dokitVersion=$(cat "$RUNNER_TEMP/version.txt")" >> $GITHUB_ENV