mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-23 02:06:46 +08:00
42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
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-template:
|
|
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-templates.sh windows
|
|
|
|
- name: Upload artifacts to S3
|
|
shell: bash
|
|
if: env.AWS_ACCESS_KEY_ID != null
|
|
run: |
|
|
aws s3 cp spine-godot/godot/bin/windows_64_debug.exe s3://spine-godot/spine-godot/3.4.4-stable/windows_64_debug.exe
|
|
aws s3 cp spine-godot/godot/bin/windows_64_release.exe s3://spine-godot/spine-godot/3.4.4-stable/windows_64_release.exe
|
|
|
|
|