name: Build and Publish Godot editor and templates on: push: paths: - ".github/workflows/spine-godot.yml" - 'spine-godot/**' - 'spine-cpp/**' workflow_dispatch: env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_EC2_METADATA_DISABLED: true jobs: godot-windows-editor: runs-on: windows-latest steps: - uses: actions/checkout@v2 with: fetch-depth: 0 - name: Setup python and scons uses: ./.github/actions/setup-godot-deps - name: Build Godot artifact shell: bash run: | ./spine-godot/build/setup.sh 3.4.4-stable false ./spine-godot/build/build.sh release_debug - name: Upload artifacts uses: actions/upload-artifact@v2 with: name: godot-editor-windows.zip path: spine-godot/godot/bin/godot.windows.opt.tools.x86_64.exe