From b0d6223c3f31b0f428b8bac786c7306fe30c6fd7 Mon Sep 17 00:00:00 2001 From: Wez Furlong <wez@wezfurlong.org> Date: Wed, 1 Jul 2020 15:46:58 -0700 Subject: [PATCH] ci: tweak release workflow --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cb01a1d..2f68277 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,4 +22,4 @@ jobs: - name: configure run: cmake . - name: build - run: cmake --build . + run: cmake --build . --config Release diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6042100..c5b3c49 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,10 +21,16 @@ jobs: - name: configure run: cmake . - name: build - run: cmake --build . + run: cmake --build . --config Release + - name: zip + if: runner.os == 'macOS' + run: zip AtomicParsleyMacOS.zip AtomicParsley + - name: zip + if: runner.os == 'Windows' + run: 7z a -tzip AtomicParsleyWindows.zip Release/AtomicParsley.exe - name: "Upload to Tagged Release" uses: softprops/action-gh-release@v1 with: - files: "AtomicParsley*" + files: "AtomicParsley*.zip" env: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"