Skip to content

Commit

Permalink
CI: add package publish for win and mac
Browse files Browse the repository at this point in the history
  • Loading branch information
fedorov committed Sep 12, 2023
1 parent d0a8a6c commit 5e3c1a7
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/cmake-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,13 @@ jobs:
- name: "Package dcmqi"
run: |
cd ${{ github.workspace }}/dcmqi-build/dcmqi-build && ninja package
- name: Publish package
run: |
ci_addons publish_github_release qiicr/dcmqi
--exit-success-if-missing-token
--prerelease-packages "${{ github.workspace }}/dcmqi-build/dcmqi-build/dcmqi-*-mac-*.tar.gz"
--prerelease-packages-clear-pattern "dcmqi-*-mac-*" --prerelease-packages-keep-pattern "*<COMMIT_DATE>-<COMMIT_SHORT_SHA>*"
--token ${{ secrets.GA_TOKEN }}
12 changes: 10 additions & 2 deletions .github/workflows/cmake-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,13 @@ jobs:
cd ${{ github.workspace }}\dcmqi-build\dcmqi-build
cmake --build . --config Release --target PACKAGE -- /m
- name: Publish package
run: |
ci_addons publish_github_release qiicr/dcmqi
--exit-success-if-missing-token
--release-packages "${{ github.workspace }}\dcmqi-build\dcmqi-build\dcmqi-*-win64.zip"
--prerelease-packages "${{ github.workspace }}\dcmqi-build\dcmqi-build\dcmqi-*-win64-*.zip"
--prerelease-packages-clear-pattern "dcmqi-*-win64-*"
--prerelease-packages-keep-pattern "*<COMMIT_DATE>-<COMMIT_SHORT_SHA>*"
--token ${{ secrets.GA_TOKEN }}

0 comments on commit 5e3c1a7

Please sign in to comment.