From c607c6f307d5d92c57047704b6cd16eded86108f Mon Sep 17 00:00:00 2001 From: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com> Date: Thu, 26 Oct 2023 00:03:55 +0300 Subject: [PATCH] Fix deploy job --- .github/workflows/main.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e60beb8..d525c8a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -98,10 +98,14 @@ jobs: path: DiscordChatExporter.Gui/ - name: Create package (CLI) - run: zip -r DiscordChatExporter.Cli.zip DiscordChatExporter.Cli/ + # Change into the artifacts directory to avoid including the directory itself in the zip archive + working-directory: DiscordChatExporter.Cli/ + run: zip -r ../DiscordChatExporter.Cli.zip . - name: Create package (GUI) - run: zip -r DiscordChatExporter.Gui.zip DiscordChatExporter.Gui/ + # Change into the artifacts directory to avoid including the directory itself in the zip archive + working-directory: DiscordChatExporter.Gui/ + run: zip -r ../DiscordChatExporter.Gui.zip . - name: Create release env: