From 8255876525f27c47ba7c706d9257cdd8f094b4f2 Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Mon, 11 Jul 2022 12:07:54 +0200 Subject: [PATCH] [godot] GH Action --- .github/workflows/spine-godot.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/spine-godot.yml diff --git a/.github/workflows/spine-godot.yml b/.github/workflows/spine-godot.yml new file mode 100644 index 000000000..066ed5566 --- /dev/null +++ b/.github/workflows/spine-godot.yml @@ -0,0 +1,30 @@ +name: Build and Publish Godot editor and templates + +on: + push: + paths: + - ".github/workflows/spine-godot.yml" + - 'spine-godot/**' + - 'spine-cpp/**' + workflow_dispatch: + +jobs: + godot-ios-template: + runs-on: macos-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - name: Build Godot artifact + run: | + ./spine-godot/setup.sh 3.4.4-stable false + ./spine-godot/build-templates.sh ios + + - name: Upload artifacts + uses: actions/upload-artifact@v2 + with: + name: spine-godot-ios-template.zip + path: spine-godot/godot/bin/iphone.zip + +