From 92950c8ce793ea142b7c8222d6355982bed80b86 Mon Sep 17 00:00:00 2001 From: Vincent Fu Date: Tue, 25 Apr 2023 18:22:26 +0000 Subject: [PATCH] ci: upload Windows installer for tagged builds as release Signed-off-by: Vincent Fu --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 103ac13f4e..433c1e3d2c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -111,6 +111,11 @@ jobs: with: name: ${{ matrix.build }}-installer path: os\windows\*.msi + - name: Upload releases for tagged builds (Windows) + uses: softprops/action-gh-release@v1 + if: ${{ startsWith(github.ref, 'refs/tags/') && startsWith(matrix.build, 'windows-cygwin') }} + with: + files: os/windows/*.msi - name: Smoke test run: ${{matrix.shell}} ./ci/actions-smoke-test.sh - name: Full test