Skip to content

Commit c25a5fe

Browse files
authored
Fix conflict names for different build artifact
1 parent 519dd80 commit c25a5fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cmake-multi-platform.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
6767
- name: Build
6868
# 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).
69-
run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }}
69+
run: cmake --build ${{ steps.strings.outputs.build-output-dir }}-${{ matrix.build_type }} --config ${{ matrix.build_type }}
7070

7171
- name: Test
7272
working-directory: ${{ steps.strings.outputs.build-output-dir }}
@@ -79,5 +79,5 @@ jobs:
7979
- name: Upload a Build Artifact
8080
uses: actions/upload-artifact@v4.3.6
8181
with:
82-
path: ${{ steps.strings.outputs.build-output-dir }}
82+
path: ${{ steps.strings.outputs.build-output-dir }}-${{ matrix.build_type }}
8383

0 commit comments

Comments
 (0)