From 922cf0026c6b3205b5bc2e0d288259965772f7d5 Mon Sep 17 00:00:00 2001 From: m-ringler <42344272+m-ringler@users.noreply.github.com> Date: Tue, 12 Nov 2024 11:47:51 +0100 Subject: [PATCH] Fix czishrink build by completely disabling roll-forward in global.json (#77) * Print dotnet version * Disable roll-forward in global.json --- .github/workflows/czishrink_dotnet.yml | 3 +++ czishrink/global.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/czishrink_dotnet.yml b/.github/workflows/czishrink_dotnet.yml index f06a254..67f747e 100644 --- a/.github/workflows/czishrink_dotnet.yml +++ b/.github/workflows/czishrink_dotnet.yml @@ -54,6 +54,9 @@ jobs: with: dotnet-version: ${{ steps.get_dotnet_version.outputs.dotnetversion }} + - name: Print .NET version + run: dotnet --version + - name: Get Version from Directory.Build.props id: getversion run: | diff --git a/czishrink/global.json b/czishrink/global.json index 4c9ac0d..71381ed 100644 --- a/czishrink/global.json +++ b/czishrink/global.json @@ -2,6 +2,6 @@ "sdk": { "version": "8.0.401", "allowPrerelease": false, - "rollForward": "feature" + "rollForward": "disable" } }