GHA: Preserve nuget version for C# builds

This commit is contained in:
Serhii Snitsaruk 2024-08-15 12:03:05 +02:00
parent 635ada23dd
commit 26cf0bb6b4
No known key found for this signature in database
GPG Key ID: A965EF8799FFEC2D
1 changed files with 6 additions and 4 deletions

View File

@ -222,16 +222,18 @@ jobs:
- name: Generate C# glue
if: matrix.opts.dotnet && matrix.opts.target == 'editor'
env:
GODOT_VERSION_STATUS: limboai
shell: bash
run: |
GODOT_VERSION_STATUS=$(echo "${GODOT_VERSION_STATUS}" | sed "s|+|-|")
echo "GODOT_VERSION_STATUS: ${GODOT_VERSION_STATUS}"
./bin/${{ env.BIN }} --headless --generate-mono-glue ./modules/mono/glue || true
- name: Build .NET solutions
if: matrix.opts.dotnet && matrix.opts.target == 'editor'
env:
GODOT_VERSION_STATUS: limboai
shell: bash
run: |
GODOT_VERSION_STATUS=$(echo "${GODOT_VERSION_STATUS}" | sed "s|+|-|")
echo "GODOT_VERSION_STATUS: ${GODOT_VERSION_STATUS}"
python ./modules/mono/build_scripts/build_assemblies.py --godot-output-dir=./bin --godot-platform=windows
- name: Prepare artifact