Merge pull request #197 from limbonaut/gha-nuget-version

GHA: Preserve nuget version for C# builds
This commit is contained in:
Serhii Snitsaruk 2024-08-15 16:12:53 +02:00 committed by GitHub
commit b59db1eee8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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