diff --git a/.github/workflows/test_action.yml b/.github/workflows/test_action.yml index ca7a1a4..b5e5513 100644 --- a/.github/workflows/test_action.yml +++ b/.github/workflows/test_action.yml @@ -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 diff --git a/entrypoint.sh b/entrypoint.sh index 205f9cf..3777b58 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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