From ac9c79fb956b9b9baf0c584c29a4d55426954609 Mon Sep 17 00:00:00 2001 From: Sandy Carter Date: Fri, 15 Jul 2022 08:15:39 -0400 Subject: [PATCH] ci: Add install and upload steps --- .github/workflows/cmake.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 32c3c17..068ce20 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -62,3 +62,13 @@ jobs: - name: Test run: ctest --test-dir build --output-on-failure + + - name: Install + run: cmake --install ${{github.workspace}}/build --strip --prefix ${{github.workspace}}/install + + - name: Upload + uses: actions/upload-artifact@v3 + with: + name: unshield-${{matrix.os}}-${{github.sha}} + path: ${{github.workspace}}/install + if-no-files-found: error