Skip to content

Commit 0f472c5

Browse files
authored
Dont include build and run.dist in Linux and MacOS builds and upload artifacts as zip
1 parent c03ad38 commit 0f472c5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,14 @@ jobs:
4545
if [ "${{ runner.os }}" = "Windows" ]; then
4646
powershell.exe -Command "Compress-Archive -Path 'build/run.dist/*' -DestinationPath 'zip_output/ShatterStack-${{ runner.os }}.zip'"
4747
else
48-
zip -r "zip_output/ShatterStack-${{ runner.os }}.zip" build/run.dist/*
48+
cd build/run.dist
49+
zip -r "../../zip_output/ShatterStack-${{ runner.os }}.zip" .
4950
fi
5051
5152
- name: Upload Zipped Build Artifact
5253
uses: actions/upload-artifact@v4
5354
with:
54-
name: ShatterStack-${{ runner.os }}
55+
name: ShatterStack-${{ runner.os }}.zip
5556
path: zip_output/ShatterStack-${{ runner.os }}.zip
5657

5758
release:

0 commit comments

Comments
 (0)