From 4cd5adf36655b18c2f72ca230b9a5bc5267065fc Mon Sep 17 00:00:00 2001 From: Splamy Date: Sat, 13 Jul 2024 23:00:58 +0200 Subject: [PATCH] Another gha fix --- .github/workflows/dotnet.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 0301a091..ac421fd6 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -33,7 +33,6 @@ jobs: - name: Get Version id: get_version run: | - cd TS3AudioBot TSABVERSION=$(dotnet publish/TS3AudioBot.dll -V | grep -oP 'Version: \K.*') echo "tsab_version=$TSABVERSION" >> $GITHUB_ENV @@ -127,7 +126,8 @@ jobs: if: startsWith(matrix.rid, 'win-') run: | cd publish - zip -r TS3AudioBot.zip . + zip -r ../TS3AudioBot.zip . + cd .. curl \ -X PUT \ -H "Content-Type: application/zip" \ @@ -140,7 +140,8 @@ jobs: run: | cd publish chmod 755 TS3AudioBot - tar -czf TS3AudioBot.tar.gz . + tar -czf ../TS3AudioBot.tar.gz . + cd .. curl \ -X PUT \ -H "Content-Type: application/gzip" \