Add setting .NET version for nuget packages
This commit is contained in:
8
.github/workflows/release-build.yaml
vendored
8
.github/workflows/release-build.yaml
vendored
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user