From 45a19d6acaabd3bfd07399f8970cf671a4449133 Mon Sep 17 00:00:00 2001 From: Veronika Romashkina Date: Mon, 27 Jul 2020 15:01:41 +0100 Subject: [PATCH] [#348] Use upx to compress release binaries (#360) * [#348] Use upx to compress release binaries Resolves #348 * Remove strip step --- .github/workflows/release.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 69a61aa3..25cafa5a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -88,13 +88,10 @@ jobs: - name: Set binary path name run: echo "::set-env name=BINARY_PATH::./dist/stan${{ env.EXT }}" - - name: Strip binary - run: strip ${{ env.BINARY_PATH }} - - # - name: Compress binary - # uses: svenstaro/upx-action@v2 - # with: - # file: dist/stan + - name: Compress binary + uses: svenstaro/upx-action@2.0.1 + with: + file: ${{ env.BINARY_PATH }} - name: Load Release URL File from release job uses: actions/download-artifact@v1