Skip to content

Commit

Permalink
.github/workflows/windows-release.yml: split cuda archive
Browse files Browse the repository at this point in the history
  • Loading branch information
WolframRhodium committed Jan 24, 2025
1 parent d8a8de5 commit c841feb
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/windows-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -394,25 +394,31 @@ jobs:
cp scripts-release/*.py release-cuda/
cd release-cuda
ls -lR
7za a -t7z -bb3 -mx=9 ../vsmlrt-windows-x64-cuda.7z .
7za a -t7z -bb3 -mx=9 -v2g ../vsmlrt-windows-x64-cuda.7z .
- name: Upload CUDA release
uses: actions/upload-artifact@v4
if: false
with:
name: vsmlrt-cuda-release
path: vsmlrt-windows-x64-cuda.7z
path: |
vsmlrt-windows-x64-cuda.7z.001
vsmlrt-windows-x64-cuda.7z.002
retention-days: 1
compression-level: 0

- name: Rename release asset for CUDA release
run: mv vsmlrt-windows-x64-cuda.7z vsmlrt-windows-x64-cuda.${{ github.event.inputs.tag }}.7z
run: |
mv vsmlrt-windows-x64-cuda.7z.001 vsmlrt-windows-x64-cuda.${{ github.event.inputs.tag }}.7z.001
mv vsmlrt-windows-x64-cuda.7z.002 vsmlrt-windows-x64-cuda.${{ github.event.inputs.tag }}.7z.002
- name: Release CUDA
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ github.event.inputs.tag }}
files: vsmlrt-windows-x64-cuda.${{ github.event.inputs.tag }}.7z
files: |
vsmlrt-windows-x64-cuda.${{ github.event.inputs.tag }}.7z.001
vsmlrt-windows-x64-cuda.${{ github.event.inputs.tag }}.7z.002
fail_on_unmatched_files: true
generate_release_notes: false
prerelease: true
Expand Down

0 comments on commit c841feb

Please sign in to comment.