From 680ec35f5dbb85b4fb99e1e5e14f644987fdaaf9 Mon Sep 17 00:00:00 2001 From: Paul Colby Date: Thu, 16 Nov 2023 21:11:36 +1100 Subject: [PATCH] Try executing in a different shell --- .github/workflows/build.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 540d1e3c6..ce235bb43 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -365,12 +365,14 @@ 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 > tmp.txt - type tmp.txt + :: dokit.exe --version > tmp.txt + :: type tmp.txt working-directory: ${{ runner.temp }} - name: Setup artifacts shell: bash - run: echo "dokitVersion=$(cat "$RUNNER_TEMP/version.txt")" >> $GITHUB_ENV + run: | + "$RUNNER_TEMP/dokit.exe" --version + echo "dokitVersion=$(cat "$RUNNER_TEMP/version.txt")" >> $GITHUB_ENV - name: Upload artifacts uses: actions/upload-artifact@v3 with: