diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c02148a..65b08bc 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -61,7 +61,10 @@ jobs: if: runner.os == 'Windows' && matrix.root-win-path run: | echo "env: $PLAYDATE_SDK_PATH == ${{ steps.installer.outputs.root }}" - ${{ steps.installer.outputs.root == env.PLAYDATE_SDK_PATH }} && (echo "::error ::Env is eq output: PLAYDATE_SDK_PATH" && exit 1) + if ${{ steps.installer.outputs.root == env.PLAYDATE_SDK_PATH }}; then + echo "::error ::Env is eq output: PLAYDATE_SDK_PATH" + exit 1 + fi - name: $PATH run: |