Skip to content

Commit

Permalink
Release Workflow fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
yowidin committed Sep 13, 2023
1 parent 44fa1ac commit 832fa1f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,15 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: serial-plotter-macos
path: ${{ github.workspace }}/build/**/serial_plotter-*.zip
name: serial-plotter-macos-x86
path: ${{ github.workspace }}/build/x86_64/Release/serial_plotter-*.zip
if-no-files-found: error

- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: serial-plotter-macos-armv8
path: ${{ github.workspace }}/build/armv8/Release/serial_plotter-*.zip
if-no-files-found: error

- name: Upload conan packages
Expand Down
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,11 @@ target_include_directories(serial-plotter SYSTEM

#################################################################################
### Packaging
include(InstallRequiredSystemLibraries)
set(CPACK_PACKAGE_NAME "${CMAKE_PROJECT_NAME}")
set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CMAKE_PROJECT_VERSION}-${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_PROCESSOR}")
include(CPack)

include(GNUInstallDirs)
install(
TARGETS serial-plotter
Expand Down

0 comments on commit 832fa1f

Please sign in to comment.