Update test

Update test

Update test

Update test

Update test
This commit is contained in:
Joseph Manley 2020-01-31 23:44:49 -05:00
parent 9acd6abd7d
commit 0fb921d27d
2 changed files with 7 additions and 11 deletions

View file

@ -8,12 +8,8 @@ jobs:
steps:
- name: Checkout
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
uses: josephbmanley/build-godot-actions@${{ steps.extract_branch.outputs.branch }}
uses: ./
with:
name: test_project
preset: linux

View file

@ -2,13 +2,13 @@
set -e
# 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 -p ~/.config/godot
mkdir -p ~/.local/share/godot/templates/3.1.1.stable
unzip Godot_v3.1.1-stable_export_templates.tpz
mv templates/* ~/.local/share/godot/templates/3.1.1.stable
rm -f Godot_v3.1.1-stable_export_templates.tpz
mkdir -p ~/.local/share/godot/templates/3.2.stable
unzip Godot_v3.2-stable_export_templates.tpz
mv templates/* ~/.local/share/godot/templates/3.2.stable
rm -f Godot_v3.2-stable_export_templates.tpz
if [ "$3" != "" ]
then
@ -28,6 +28,6 @@ if [ "$4" = "true" ]
then
mkdir ~/package
cd ~/build
zip ~/package/artifact.zip ${SubDirectoryLocation:-"*"} -r
zip ~/package/artifact.zip ${SubDirectoryLocation:-"."} -r
echo ::set-output name=artifact::~/package/artifact.zip
fi