Skip to content

Commit

Permalink
Check whether clear-pattern is a problem.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelonken committed Jan 5, 2024
1 parent 00245aa commit 4874140
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/cmake-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,13 @@ jobs:
run: |
cd ${{ github.workspace }}\dcmtk-build
cmake --build . --config Release --target INSTALL -- /m
Compress-Archive -Path ${{ github.workspace }}\dcmtk-install -Destination ${{ github.workspace }}\dcmtk-install\dcmtk-${{ env.NOW }}-win64.zip
echo "Listing install dir: ${{ github.workspace }}\dcmtk-install"
ls ${{ github.workspace }}\dcmtk-install
- uses: actions/upload-artifact@v3
with:
name: dcmtk-build
path: ${{ github.workspace }}\dcmtk-install\dcmtk-*-win64.zip
name: dcmtk-install
path: ${{ github.workspace }}\dcmtk-install

publish-windows:

Expand All @@ -104,19 +103,18 @@ jobs:
fetch-tags: true
- uses: actions/download-artifact@v3
with:
name: dcmtk-build
path: ${{ github.workspace }}\dcmtk-install
name: dcmtk-install
path: ${{ github.workspace }}


- name: Publish package
run: |
echo "Listing install dir: ${{ github.workspace }}\dcmtk-install"
echo "Listing workspace dir: ${{ github.workspace }}\dcmtk-install"
ls ${{ github.workspace }}\dcmtk-install
pip install -U "scikit-ci-addons>=0.22.0"
ci_addons publish_github_release michaelonken/dcmtk `
--exit-success-if-missing-token `
--release-packages "${{ github.workspace }}\dcmtk-install\dcmtk-*-win64*.zip" `
--prerelease-packages "${{ github.workspace }}\dcmtk-install\dcmtk-*-win64-*.zip" `
--prerelease-packages-clear-pattern "dcmtk-*-win64*" `
--prerelease-packages-keep-pattern "*<COMMIT_DATE>-<COMMIT_SHORT_SHA>*" `
--token ${{ secrets.PUBLISH_RELEASE_TOKEN }}

0 comments on commit 4874140

Please sign in to comment.