mirror of
				https://github.com/yeslayla/build-godot-action.git
				synced 2025-11-04 16:23:04 +01:00 
			
		
		
		
	Update test
Update test Update test Update test Update test
This commit is contained in:
		
							
								
								
									
										6
									
								
								.github/workflows/test_action.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/test_action.yml
									
									
									
									
										vendored
									
									
								
							@ -8,12 +8,8 @@ jobs:
 | 
				
			|||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
    - name: Checkout
 | 
					    - name: Checkout
 | 
				
			||||||
      uses: actions/checkout@v1
 | 
					      uses: actions/checkout@v1
 | 
				
			||||||
    - name: Extract branch name
 | 
					 | 
				
			||||||
      shell: bash
 | 
					 | 
				
			||||||
      run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
 | 
					 | 
				
			||||||
      id: extract_branch
 | 
					 | 
				
			||||||
    - name: Run Action
 | 
					    - name: Run Action
 | 
				
			||||||
      uses: josephbmanley/build-godot-actions@${{ steps.extract_branch.outputs.branch }}
 | 
					      uses: ./
 | 
				
			||||||
      with:
 | 
					      with:
 | 
				
			||||||
        name: test_project
 | 
					        name: test_project
 | 
				
			||||||
        preset: linux
 | 
					        preset: linux
 | 
				
			||||||
 | 
				
			|||||||
@ -2,13 +2,13 @@
 | 
				
			|||||||
set -e
 | 
					set -e
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Install export templates
 | 
					# Install export templates
 | 
				
			||||||
wget https://downloads.tuxfamily.org/godotengine/3.1.1/Godot_v3.1.1-stable_export_templates.tpz --quiet
 | 
					wget https://downloads.tuxfamily.org/godotengine/3.2/Godot_v3.2-stable_export_templates.tpz --quiet
 | 
				
			||||||
mkdir ~/.cache
 | 
					mkdir ~/.cache
 | 
				
			||||||
mkdir -p ~/.config/godot
 | 
					mkdir -p ~/.config/godot
 | 
				
			||||||
mkdir -p ~/.local/share/godot/templates/3.1.1.stable
 | 
					mkdir -p ~/.local/share/godot/templates/3.2.stable
 | 
				
			||||||
unzip Godot_v3.1.1-stable_export_templates.tpz
 | 
					unzip Godot_v3.2-stable_export_templates.tpz
 | 
				
			||||||
mv templates/* ~/.local/share/godot/templates/3.1.1.stable
 | 
					mv templates/* ~/.local/share/godot/templates/3.2.stable
 | 
				
			||||||
rm -f Godot_v3.1.1-stable_export_templates.tpz
 | 
					rm -f Godot_v3.2-stable_export_templates.tpz
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if [ "$3" != "" ]
 | 
					if [ "$3" != "" ]
 | 
				
			||||||
then
 | 
					then
 | 
				
			||||||
@ -28,6 +28,6 @@ if [ "$4" = "true" ]
 | 
				
			|||||||
then
 | 
					then
 | 
				
			||||||
    mkdir ~/package
 | 
					    mkdir ~/package
 | 
				
			||||||
    cd ~/build
 | 
					    cd ~/build
 | 
				
			||||||
    zip ~/package/artifact.zip ${SubDirectoryLocation:-"*"} -r
 | 
					    zip ~/package/artifact.zip ${SubDirectoryLocation:-"."} -r
 | 
				
			||||||
    echo ::set-output name=artifact::~/package/artifact.zip
 | 
					    echo ::set-output name=artifact::~/package/artifact.zip
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user