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:
Jan Jurzitza 2021-06-01 20:10:52 +00:00 committed by GitHub
parent 3e5dbd979a
commit 62f689d21f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -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