From 4e57f7c4882fa7810d4e86564ee921b068dfbf17 Mon Sep 17 00:00:00 2001 From: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com> Date: Mon, 26 Sep 2022 19:33:54 +0100 Subject: [PATCH] ci: fix windows build (#1132) * ci: fix windows build * pass bin_path via temp file --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index de8f3ab5bd..48601cfc24 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -134,7 +134,9 @@ jobs: shell: cmd run: | cabal build --enable-tests - echo "::set-output name=bin_path::$(cabal list-bin simplex-chat)" + cabal list-bin simplex-chat > tmp_bin_path + set /p bin_path= < tmp_bin_path + echo ::set-output name=bin_path::%bin_path% - name: Windows upload binary to release if: startsWith(github.ref, 'refs/tags/v') && matrix.os == 'windows-latest'