From 26cf0bb6b44c92584dcf5ca5c9ee45fbb6a31036 Mon Sep 17 00:00:00 2001 From: Serhii Snitsaruk Date: Thu, 15 Aug 2024 12:03:05 +0200 Subject: [PATCH] GHA: Preserve nuget version for C# builds --- .github/workflows/windows.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 153d3ca..3176c35 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -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