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 - name: Generate C# glue
if: matrix.opts.dotnet && matrix.opts.target == 'editor' if: matrix.opts.dotnet && matrix.opts.target == 'editor'
env: shell: bash
GODOT_VERSION_STATUS: limboai
run: | 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 ./bin/${{ env.BIN }} --headless --generate-mono-glue ./modules/mono/glue || true
- name: Build .NET solutions - name: Build .NET solutions
if: matrix.opts.dotnet && matrix.opts.target == 'editor' if: matrix.opts.dotnet && matrix.opts.target == 'editor'
env: shell: bash
GODOT_VERSION_STATUS: limboai
run: | 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 python ./modules/mono/build_scripts/build_assemblies.py --godot-output-dir=./bin --godot-platform=windows
- name: Prepare artifact - name: Prepare artifact