mirror of
https://github.com/csd4ni3l/shatterstack.git
synced 2026-01-01 04:23:48 +01:00
Dont include build and run.dist in Linux and MacOS builds and upload artifacts as zip
This commit is contained in:
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
@@ -45,13 +45,14 @@ jobs:
|
|||||||
if [ "${{ runner.os }}" = "Windows" ]; then
|
if [ "${{ runner.os }}" = "Windows" ]; then
|
||||||
powershell.exe -Command "Compress-Archive -Path 'build/run.dist/*' -DestinationPath 'zip_output/ShatterStack-${{ runner.os }}.zip'"
|
powershell.exe -Command "Compress-Archive -Path 'build/run.dist/*' -DestinationPath 'zip_output/ShatterStack-${{ runner.os }}.zip'"
|
||||||
else
|
else
|
||||||
zip -r "zip_output/ShatterStack-${{ runner.os }}.zip" build/run.dist/*
|
cd build/run.dist
|
||||||
|
zip -r "../../zip_output/ShatterStack-${{ runner.os }}.zip" .
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Upload Zipped Build Artifact
|
- name: Upload Zipped Build Artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ShatterStack-${{ runner.os }}
|
name: ShatterStack-${{ runner.os }}.zip
|
||||||
path: zip_output/ShatterStack-${{ runner.os }}.zip
|
path: zip_output/ShatterStack-${{ runner.os }}.zip
|
||||||
|
|
||||||
release:
|
release:
|
||||||
|
|||||||
Reference in New Issue
Block a user