Skip to content

Commit

Permalink
add artifact upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonardo committed Sep 30, 2023
1 parent e404189 commit d421055
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,14 @@ jobs:
# Execute tests defined by the CMake configuration. Note that --build-config is needed because the default Windows generator is a multi-config generator (Visual Studio generator).
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: ctest --build-config ${{ matrix.build_type }}

- name: Package
working-directory: ${{ steps.strings.outputs.build-output-dir }}
# Execute tests defined by the CMake configuration. Note that --build-config is needed because the default Windows generator is a multi-config generator (Visual Studio generator).
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: cpack --build-config ${{ matrix.build_type }}

- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
path: '*.(tar.gz|zip)'

0 comments on commit d421055

Please sign in to comment.