3 Commits

Author SHA1 Message Date
8b73ce192f Merge branch 'yeslayla:master' into master 2024-08-05 15:58:05 +01:00
f759ed7f8f Adjusted templates folder name (#29)
* Update entrypoint.sh

* Update entrypoint.sh
2024-04-23 01:32:16 +02:00
4117f9a9b0 switch from set-output to $GITHUB_OUTPUT 2023-11-17 18:54:32 +00:00

View File

@ -3,7 +3,7 @@ set -e
# Move godot templates already installed from the docker image to home
mkdir -v -p ~/.local/share/godot/export_templates
cp -a /root/.local/share/godot/templates/. ~/.local/share/godot/export_templates/
cp -a /root/.local/share/godot/export_templates/. ~/.local/share/godot/export_templates/
if [ "$3" != "" ]
@ -25,7 +25,7 @@ cd "$GITHUB_WORKSPACE/$5"
godot --headless --${mode} "$2" $GITHUB_WORKSPACE/build/${SubDirectoryLocation:-""}$1
echo "Build Done"
echo ::set-output name=build::build/${SubDirectoryLocation:-""}
echo build=build/${SubDirectoryLocation:-""} >> $GITHUB_OUTPUT
if [ "$4" = "true" ]
@ -34,6 +34,6 @@ then
mkdir -p $GITHUB_WORKSPACE/package
cd $GITHUB_WORKSPACE/build
zip $GITHUB_WORKSPACE/package/artifact.zip ${SubDirectoryLocation:-"."} -r
echo ::set-output name=artifact::package/artifact.zip
echo artifact=package/artifact.zip >> $GITHUB_OUTPUT
echo "Done"
fi