make CI artifacts inside bin folder
dub builds into `bin` folder, so take the files from there. Adjust working-directory so we don't accidentally create a folder named "bin" inside the archives.
This commit is contained in:
parent
3e5dbd979a
commit
62f689d21f
|
@ -65,11 +65,12 @@ jobs:
|
|||
- name: Package the artificats
|
||||
if: github.event_name == 'release' && contains(matrix.dc, 'ldc')
|
||||
shell: pwsh
|
||||
working-directory: bin
|
||||
run: |
|
||||
if ("${{ matrix.os }}" -like 'windows*') {
|
||||
7z a -tzip dcd.zip dcd-client.exe dcd-server.exe
|
||||
7z a -tzip ..\dcd.zip dcd-client.exe dcd-server.exe
|
||||
} else {
|
||||
tar -cvzf dcd.tar.gz dcd-client dcd-server
|
||||
tar -cvzf ../dcd.tar.gz dcd-client dcd-server
|
||||
}
|
||||
|
||||
# Release
|
||||
|
|
Loading…
Reference in New Issue