Package the files using tar and 7z
This commit is contained in:
parent
54c5323777
commit
32a6d0de4b
|
|
@ -62,19 +62,15 @@ jobs:
|
||||||
|
|
||||||
# Package Release
|
# Package Release
|
||||||
|
|
||||||
- name: TarGZ MacOS and Linux
|
- name: Package the artificats
|
||||||
if: github.event_name == 'release' && !contains(matrix.os, 'windows') && contains(matrix.dc, 'ldc')
|
if: github.event_name == 'release' && contains(matrix.dc, 'ldc')
|
||||||
uses: thedoctor0/zip-release@0.4.2
|
shell: pwsh
|
||||||
with:
|
run: |
|
||||||
filename: dcd.tar.gz
|
if ("${{ matrix.os }}" -like 'windows*') {
|
||||||
path: "dcd-client dcd-server"
|
7z a -tzip dcd.zip dcd-client.exe dcd-server.exe
|
||||||
|
} else {
|
||||||
- name: Zip Windows
|
tar -cvzf dcd.tar.gz dcd-client dcd-server
|
||||||
if: github.event_name == 'release' && contains(matrix.os, 'windows') && contains(matrix.dc, 'ldc')
|
}
|
||||||
uses: thedoctor0/zip-release@0.4.2
|
|
||||||
with:
|
|
||||||
filename: dcd.zip
|
|
||||||
path: "dcd-client.exe dcd-server.exe"
|
|
||||||
|
|
||||||
# Release
|
# Release
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue