This commit is contained in:
DerpyChap 2024-08-05 14:58:09 +00:00 committed by GitHub
commit 778ecaf0da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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