From aa1a1a136a139ad17dc46e3a9eb887eb259cfa0d 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..a18d04e831 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/') && contains(matrix.build, 'windows') }} + with: + files: os/windows/*.msi - name: Smoke test run: ${{matrix.shell}} ./ci/actions-smoke-test.sh - name: Full test