From c176791d663a86cfd41b0b2e02e6e4fc649b7442 Mon Sep 17 00:00:00 2001 From: Cody Robibero Date: Wed, 9 Apr 2025 18:59:48 -0600 Subject: [PATCH] Add setting .NET version for nuget packages --- .github/workflows/release-build.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/release-build.yaml b/.github/workflows/release-build.yaml index ecfbfb2..eb55385 100644 --- a/.github/workflows/release-build.yaml +++ b/.github/workflows/release-build.yaml @@ -12,6 +12,9 @@ on: type: string description: 'The server and web stable release tag ("vX.Y.Z") or "master"' +env: + SDK_VERSION: "9.0.x" + permissions: contents: read @@ -769,6 +772,11 @@ jobs: sudo apt-get update sudo apt-get install --yes python3-git python3-yaml + - name: "Setup .NET" + uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1 + with: + dotnet-version: ${{ env.SDK_VERSION }} + - name: "Checkout repository" uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2