From 6fabad213e840ed31d6de3c5a068e73dfac4d011 Mon Sep 17 00:00:00 2001 From: Serhii Snitsaruk Date: Fri, 16 Aug 2024 23:27:58 +0200 Subject: [PATCH] GHA: Fix nuget versions in linux and macos builds --- .github/workflows/linux.yml | 8 ++++---- .github/workflows/macos.yml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 553feed..658477f 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -245,16 +245,16 @@ jobs: - name: Generate C# glue if: matrix.opts.dotnet && matrix.opts.target == 'editor' - env: - GODOT_VERSION_STATUS: limboai run: | + GODOT_VERSION_STATUS=$(echo "${GODOT_VERSION_STATUS}" | sed "s|+|-|") + echo "GODOT_VERSION_STATUS: ${GODOT_VERSION_STATUS}" ./bin/$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 run: | + GODOT_VERSION_STATUS=$(echo "${GODOT_VERSION_STATUS}" | sed "s|+|-|") + echo "GODOT_VERSION_STATUS: ${GODOT_VERSION_STATUS}" ./modules/mono/build_scripts/build_assemblies.py --godot-output-dir=./bin --godot-platform=linuxbsd - name: Prepare artifact diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index b779001..5e76f11 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -185,16 +185,16 @@ jobs: - name: Generate C# glue if: matrix.opts.dotnet && matrix.opts.target == 'editor' && matrix.opts.arch == 'x86_64' - env: - GODOT_VERSION_STATUS: limboai run: | + GODOT_VERSION_STATUS=$(echo "${GODOT_VERSION_STATUS}" | sed "s|+|-|") + echo "GODOT_VERSION_STATUS: ${GODOT_VERSION_STATUS}" ./bin/$BIN --headless --generate-mono-glue ./modules/mono/glue || true - name: Build .NET solutions if: matrix.opts.dotnet && matrix.opts.target == 'editor' && matrix.opts.arch == 'x86_64' - env: - GODOT_VERSION_STATUS: limboai run: | + GODOT_VERSION_STATUS=$(echo "${GODOT_VERSION_STATUS}" | sed "s|+|-|") + echo "GODOT_VERSION_STATUS: ${GODOT_VERSION_STATUS}" ./modules/mono/build_scripts/build_assemblies.py --godot-output-dir=./bin --godot-platform=macos - name: Prepare artifact