Skip to content

Commit

Permalink
Update cmake-multi-platform.yml: artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
anaegel authored Aug 16, 2024
1 parent 26564c8 commit 6441e38
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,18 +141,18 @@ jobs:



- name: (5) Build
- name: (8) Build
# Build your program with the given configuration. Note that --config is needed because the default Windows generator is a multi-config generator (Visual Studio generator).
run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }}


- name: (5) Artifacts
- name: (9) Artifacts
uses: actions/upload-artifact@v4
with:
name: my-artifacts
path: ${{ github.workspace }}/build # or path/to/artifact

- name: (6) Test
- name: (10) Test
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
Expand Down

0 comments on commit 6441e38

Please sign in to comment.