Skip to content

Commit 50ece1d

Browse files
committed
Updates .NET version variable name
Updates the .NET version variable name in the build workflows. * Standardizes variable name across workflow files * Ensures consistency in .NET SDK version specification
1 parent b957dec commit 50ece1d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/nuget-beta.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
fetch-depth: 0 # Fetch full history for release notes generation
2525
- uses: actions/setup-dotnet@v3
2626
with:
27-
dotnet-version: ${{ env.NuGetDirectory }}
27+
dotnet-version: ${{ env.DotnetVersion }}
2828

2929
- name: Install MAUI Workloads
30-
run: dotnet workload install maui --ignore-failed-sources --version ${{ env.NuGetDirectory }}
30+
run: dotnet workload install maui --ignore-failed-sources --version ${{ env.DotnetVersion }}
3131

3232
- name: Semver Parse
3333
id: version

.github/workflows/nuget-prod.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
fetch-depth: 0 # Fetch full history for release notes generation
2525
- uses: actions/setup-dotnet@v3
2626
with:
27-
dotnet-version: ${{ env.NuGetDirectory }}
27+
dotnet-version: ${{ env.DotnetVersion }}
2828

2929
- name: Install MAUI Workloads
30-
run: dotnet workload install maui --ignore-failed-sources --version ${{ env.NuGetDirectory }}
30+
run: dotnet workload install maui --ignore-failed-sources --version ${{ env.DotnetVersion }}
3131

3232
- name: Semver Parse
3333
id: version

0 commit comments

Comments
 (0)