diff --git a/entrypoint.sh b/entrypoint.sh index 6c5a397..62ee593 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -3,7 +3,8 @@ set -e # Move godot templates already installed from the docker image to home mkdir -v -p ~/.local/share/godot/export_templates -cp -a -f /root/.local/share/godot/export_templates/. ~/.local/share/godot/export_templates/ +mkdir ./Builds +# cp -a -f /root/.local/share/godot/export_templates/. ~/.local/share/godot/export_templates/ if [ "$3" != "" ] @@ -25,6 +26,8 @@ cd "$GITHUB_WORKSPACE/$5" godot ./project.godot --headless --${mode} "$2" echo "Build Done" +ls -la ./Builds + if [ "$5" != "" ] then BUILD_PATH="$GITHUB_WORKSPACE/$5/build/" @@ -38,7 +41,7 @@ if [ "$4" = "true" ] then echo "Packing Build" mkdir -p $GITHUB_WORKSPACE/package - cd $BUILD_PATH + cd ./Builds zip $GITHUB_WORKSPACE/package/artifact.zip . -r echo artifact=package/artifact.zip >> $GITHUB_OUTPUT echo "Done"