diff --git a/.github/workflows/cmake-macos.yml b/.github/workflows/cmake-macos.yml index ff54e219..d8489eaa 100644 --- a/.github/workflows/cmake-macos.yml +++ b/.github/workflows/cmake-macos.yml @@ -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 "*-*" + --token ${{ secrets.GA_TOKEN }} + \ No newline at end of file diff --git a/.github/workflows/cmake-win.yml b/.github/workflows/cmake-win.yml index 6fce1d46..cc060e04 100644 --- a/.github/workflows/cmake-win.yml +++ b/.github/workflows/cmake-win.yml @@ -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 "*-*" + --token ${{ secrets.GA_TOKEN }} + \ No newline at end of file