Skip to content

Commit

Permalink
ci: upload Windows installer for tagged builds as release
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
  • Loading branch information
vincentkfu committed Apr 25, 2023
1 parent 98a18b6 commit ac7ae62
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ac7ae62

Please sign in to comment.