From 2cc858505968955ca81d1125328238fec7830a1a Mon Sep 17 00:00:00 2001 From: "Matwey V. Kornilov" Date: Sun, 6 Nov 2022 13:50:48 +0300 Subject: [PATCH] Use GitHub Releases for the Windows packages --- .github/workflows/cmake.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 41d583f..d4c777b 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -88,6 +88,12 @@ jobs: name: ${{matrix.build_type}} package for Windows ${{matrix.arch}} path: build/libopenvizsla-*.zip + - name: Release the package + if: runner.os == 'Windows' && matrix.build_type == 'Release' && startsWith(github.ref, 'refs/tags/') + uses: softprops/action-gh-release@v1 + with: + files: libopenvizsla-*.zip + - name: Test working-directory: ${{github.workspace}}/build run: ctest -C ${{matrix.build_type}} --output-on-failure