2024-08-22 09:58:47 +00:00
|
|
|
name: Build .NET assemblies
|
|
|
|
|
|
|
|
inputs:
|
|
|
|
platform:
|
|
|
|
required: true
|
|
|
|
type: choice
|
|
|
|
options:
|
|
|
|
- linuxbsd
|
|
|
|
- windows
|
|
|
|
- macos
|
2024-11-16 21:02:30 +00:00
|
|
|
bin:
|
|
|
|
required: true
|
|
|
|
type: string
|
2024-08-22 09:58:47 +00:00
|
|
|
|
|
|
|
runs:
|
|
|
|
using: "composite"
|
|
|
|
steps:
|
|
|
|
- name: Override GODOT_VERSION_STATUS for NuGet packages
|
|
|
|
shell: bash
|
|
|
|
run: |
|
|
|
|
GODOT_VERSION_STATUS=$(echo "${GODOT_VERSION_STATUS}" | sed "s|+|-|").gha
|
|
|
|
echo "GODOT_VERSION_STATUS=${GODOT_VERSION_STATUS}" >> "$GITHUB_ENV"
|
|
|
|
echo "GODOT_VERSION_STATUS: ${GODOT_VERSION_STATUS}"
|
|
|
|
|
|
|
|
- name: Generate C# glue
|
|
|
|
shell: bash
|
|
|
|
run: |
|
2024-11-16 21:02:30 +00:00
|
|
|
./bin/${{inputs.bin}} --headless --generate-mono-glue ./modules/mono/glue || true
|
2024-08-22 09:58:47 +00:00
|
|
|
|
|
|
|
- name: Build .NET assemblies
|
|
|
|
shell: bash
|
|
|
|
run: |
|
2024-08-22 12:23:20 +00:00
|
|
|
python ./modules/mono/build_scripts/build_assemblies.py --godot-output-dir=./bin --godot-platform=${{ inputs.platform }}
|