mirror of
				https://github.com/yeslayla/build-godot-action.git
				synced 2025-11-04 08:13:04 +01:00 
			
		
		
		
	Compare commits
	
		
			3 Commits
		
	
	
		
			1.x
			...
			8b73ce192f
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 8b73ce192f | |||
| f759ed7f8f | |||
| 4117f9a9b0 | 
@ -3,7 +3,7 @@ set -e
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
# Move godot templates already installed from the docker image to home
 | 
					# Move godot templates already installed from the docker image to home
 | 
				
			||||||
mkdir -v -p ~/.local/share/godot/export_templates
 | 
					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" != "" ]
 | 
					if [ "$3" != "" ]
 | 
				
			||||||
@ -25,7 +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" ]
 | 
				
			||||||
@ -34,6 +34,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 New Issue
	
	Block a user