mirror of
https://github.com/csd4ni3l/shatterstack.git
synced 2026-01-01 04:23:48 +01:00
fix Nuitka Action Windows zip doesnt create zip_output directory and fails
This commit is contained in:
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
@@ -37,14 +37,14 @@ jobs:
|
|||||||
include-data-files: CREDITS=CREDITS
|
include-data-files: CREDITS=CREDITS
|
||||||
mode: standalone
|
mode: standalone
|
||||||
output-file: ShatterStack
|
output-file: ShatterStack
|
||||||
|
|
||||||
- name: Zip Build Output
|
- name: Zip Build Output
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
if [[ "$RUNNER_OS" == "Windows" ]]; then
|
mkdir -p zip_output
|
||||||
powershell -Command "Compress-Archive -Path build\run.dist\* -DestinationPath zip_output\ShatterStack-${{ runner.os }}.zip"
|
if [ "${{ runner.os }}" = "Windows" ]; then
|
||||||
|
powershell.exe -Command "Compress-Archive -Path 'build/run.dist/*' -DestinationPath 'zip_output/ShatterStack-${{ runner.os }}.zip'"
|
||||||
else
|
else
|
||||||
mkdir -p zip_output
|
|
||||||
zip -r "zip_output/ShatterStack-${{ runner.os }}.zip" build/run.dist/*
|
zip -r "zip_output/ShatterStack-${{ runner.os }}.zip" build/run.dist/*
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user