Skip to content

Commit 4cd5adf

Browse files
committed
Another gha fix
1 parent f6ad7f7 commit 4cd5adf

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/dotnet.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ jobs:
3333
- name: Get Version
3434
id: get_version
3535
run: |
36-
cd TS3AudioBot
3736
TSABVERSION=$(dotnet publish/TS3AudioBot.dll -V | grep -oP 'Version: \K.*')
3837
echo "tsab_version=$TSABVERSION" >> $GITHUB_ENV
3938
@@ -127,7 +126,8 @@ jobs:
127126
if: startsWith(matrix.rid, 'win-')
128127
run: |
129128
cd publish
130-
zip -r TS3AudioBot.zip .
129+
zip -r ../TS3AudioBot.zip .
130+
cd ..
131131
curl \
132132
-X PUT \
133133
-H "Content-Type: application/zip" \
@@ -140,7 +140,8 @@ jobs:
140140
run: |
141141
cd publish
142142
chmod 755 TS3AudioBot
143-
tar -czf TS3AudioBot.tar.gz .
143+
tar -czf ../TS3AudioBot.tar.gz .
144+
cd ..
144145
curl \
145146
-X PUT \
146147
-H "Content-Type: application/gzip" \

0 commit comments

Comments
 (0)