Skip to content

Commit

Permalink
Fix build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
doyaGu committed Sep 22, 2024
1 parent f2ef7b4 commit a9b34f3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,12 @@ jobs:
-DCMAKE_INSTALL_PREFIX=${{ env.BASE_DIST_DIR }}/${{ matrix.configuration }}
- name: Build the project
run: cmake --build ${{ env.BASE_BUILD_DIR }}/${{ matrix.configuration }}
run: cmake --build ${{ env.BASE_BUILD_DIR }}/${{ matrix.configuration }} --config ${{ matrix.configuration }}

- name: Install binaries to distribution folder
run: cmake --install ${{ env.BASE_BUILD_DIR }}/${{ matrix.configuration }} --prefix ${{ env.BASE_DIST_DIR }}/${{ matrix.configuration }}
run: >
cmake --install ${{ env.BASE_BUILD_DIR }}/${{ matrix.configuration }}
--prefix ${{ env.BASE_DIST_DIR }}/${{ matrix.configuration }} --config ${{ matrix.configuration }}
- name: Upload build artifacts
uses: actions/upload-artifact@v4.3.3
Expand Down

0 comments on commit a9b34f3

Please sign in to comment.