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