mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[godot] GH action
This commit is contained in:
parent
1d5e005f3f
commit
b0cc20c33b
27
.github/actions/setup-godot-deps/action.yml
vendored
Normal file
27
.github/actions/setup-godot-deps/action.yml
vendored
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
name: Setup python and scons
|
||||||
|
description: Setup python, install the pip version of scons.
|
||||||
|
inputs:
|
||||||
|
python-version:
|
||||||
|
description: The python version to use.
|
||||||
|
default: "3.x"
|
||||||
|
python-arch:
|
||||||
|
description: The python architecture.
|
||||||
|
default: "x64"
|
||||||
|
runs:
|
||||||
|
using: "composite"
|
||||||
|
steps:
|
||||||
|
# Use python 3.x release (works cross platform)
|
||||||
|
- name: Set up Python 3.x
|
||||||
|
uses: actions/setup-python@v2
|
||||||
|
with:
|
||||||
|
# Semantic version range syntax or exact version of a Python version
|
||||||
|
python-version: ${{ inputs.python-version }}
|
||||||
|
# Optional - x64 or x86 architecture, defaults to x64
|
||||||
|
architecture: ${{ inputs.python-arch }}
|
||||||
|
|
||||||
|
- name: Setup scons
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
python -c "import sys; print(sys.version)"
|
||||||
|
python -m pip install scons
|
||||||
|
scons --version
|
||||||
3
.github/workflows/spine-godot.yml
vendored
3
.github/workflows/spine-godot.yml
vendored
@ -16,6 +16,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Setup python and scons
|
||||||
|
uses: ./.github/actions/setup-godot-deps
|
||||||
|
|
||||||
- name: Build Godot artifact
|
- name: Build Godot artifact
|
||||||
run: |
|
run: |
|
||||||
./spine-godot/build/setup.sh 3.4.4-stable false
|
./spine-godot/build/setup.sh 3.4.4-stable false
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user