From 9b8c9b449953fee59285aa32cb4b491845d61f72 Mon Sep 17 00:00:00 2001 From: Lasse Alm Date: Tue, 5 Nov 2024 13:36:16 +0100 Subject: [PATCH] echo content --- .github/workflows/release.yaml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2ea12c74..abab098d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -151,8 +151,8 @@ jobs: needs: [validate-preconditions] runs-on: macos-latest-large environment: release -# if: contains(fromJSON('["rc", "client-macos"]'), needs.validate-preconditions.outputs.release_type) - if: false + if: contains(fromJSON('["rc", "client-macos"]'), needs.validate-preconditions.outputs.release_type) +# if: false steps: - name: Checkout Repository uses: actions/checkout@v4 @@ -254,11 +254,14 @@ jobs: run: stack build --force-dirty - name: Zip the binaries + shell: bash run: | + pwd mkdir out - binDir=$(stack path --local-install-root)/bin - (cd $binDir && powershell -Command "Compress-Archive -Path concordium-client.exe,concordium_base.dll,sha_2.dll -DestinationPath concordium-client.zip") - mv -f $binDir/concordium-client.zip out/concordium-client.zip + bin_dir=$(stack path --local-install-root)/bin + echo "$bin_dir" + (cd "$bin_dir" && powershell -Command "Compress-Archive -Path concordium-client.exe,concordium_base.dll,sha_2.dll -DestinationPath concordium-client.zip") + mv -f "$bin_dir/concordium-client.zip" out/concordium-client.zip - name: Publish run: |