Debian Codegraph @

.github/actions/godot-deps/action.yml

raw symbols SCIP
1 name: Setup Python and SCons
2 description: Setup Python, install the pip version of SCons.
3
4 inputs:
5 python-version:
6 description: The Python version to use.
7 default: 3.x
8 python-arch:
9 description: The Python architecture.
10 default: x64
11 scons-version:
12 description: The SCons version to use.
13 default: 4.10.1
14
15 runs:
16 using: composite
17 steps:
18 - name: Set up Python 3.x
19 uses: actions/setup-python@v6
20 with:
21 # Semantic version range syntax or exact version of a Python version.
22 python-version: ${{ inputs.python-version }}
23 # Optional - x64 or x86 architecture, defaults to x64.
24 architecture: ${{ inputs.python-arch }}
25
26 - name: Setup SCons
27 shell: bash
28 run: |
29 python -c "import sys; print(sys.version)"
30 python -m pip install scons==${{ inputs.scons-version }}
31 scons --version
32
33 - name: Setup problem matchers
34 shell: bash
35 run: echo ::add-matcher::misc/utility/problem-matchers.json