From 62f689d21f88bd2e8b414d1043b695c49ac7a599 Mon Sep 17 00:00:00 2001 From: Jan Jurzitza Date: Tue, 1 Jun 2021 20:10:52 +0000 Subject: [PATCH] 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. --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 53db0d6..ff5bf6e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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