Updated to move away from set-output
This commit is contained in:
parent
9594e2987a
commit
8bcd8a2211
1 changed files with 2 additions and 3 deletions
|
@ -25,8 +25,7 @@ cd "$GITHUB_WORKSPACE/$5"
|
||||||
godot --headless --${mode} "$2" $GITHUB_WORKSPACE/build/${SubDirectoryLocation:-""}$1
|
godot --headless --${mode} "$2" $GITHUB_WORKSPACE/build/${SubDirectoryLocation:-""}$1
|
||||||
echo "Build Done"
|
echo "Build Done"
|
||||||
|
|
||||||
echo ::set-output name=build::build/${SubDirectoryLocation:-""}
|
echo build=build/${SubDirectoryLocation:-""} >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
|
||||||
if [ "$4" = "true" ]
|
if [ "$4" = "true" ]
|
||||||
then
|
then
|
||||||
|
@ -34,6 +33,6 @@ then
|
||||||
mkdir -p $GITHUB_WORKSPACE/package
|
mkdir -p $GITHUB_WORKSPACE/package
|
||||||
cd $GITHUB_WORKSPACE/build
|
cd $GITHUB_WORKSPACE/build
|
||||||
zip $GITHUB_WORKSPACE/package/artifact.zip ${SubDirectoryLocation:-"."} -r
|
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"
|
echo "Done"
|
||||||
fi
|
fi
|
||||||
|
|
Reference in a new issue