diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 103ac13f4e..be016baaf7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -105,12 +105,17 @@ jobs: dobuild.cmd ${{ matrix.installer_arch }} cd ..\.. - - name: Upload installer (Windows) + - name: Upload installer as artifact (Windows) if: ${{ contains( matrix.build, 'windows' ) }} uses: actions/upload-artifact@v3 with: name: ${{ matrix.build }}-installer path: os\windows\*.msi + - name: Upload installer as release 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