Skip to content

Commit 531d7ed

Browse files
committed
release: change dotnet to .NET and loosen version requirements
Update .NET setup tasks to be titled "Set up .NET" instead of "Setup dotnet." Additionally, change from using a specific .NET version (6.0.201) to a more general version that aligns with the current version in use by the project (7.0.x).
1 parent ac0b264 commit 531d7ed

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.github/workflows/release.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v4
1919

20-
- name: Set up dotnet
20+
- name: Set up .NET
2121
uses: actions/[email protected]
2222
with:
23-
dotnet-version: 6.0.201
23+
dotnet-version: 7.0.x
2424

2525
- name: Install dependencies
2626
run: dotnet restore
@@ -141,10 +141,10 @@ jobs:
141141
- name: Set version environment variable
142142
run: echo "VERSION=$(cat VERSION | sed -E 's/.[0-9]+$//')" >> $GITHUB_ENV
143143

144-
- name: Set up dotnet
144+
- name: Set up .NET
145145
uses: actions/[email protected]
146146
with:
147-
dotnet-version: 6.0.201
147+
dotnet-version: 7.0.x
148148

149149
- name: Download signed payload
150150
uses: actions/download-artifact@v3
@@ -249,10 +249,10 @@ jobs:
249249
steps:
250250
- uses: actions/checkout@v4
251251

252-
- name: Set up dotnet
252+
- name: Set up .NET
253253
uses: actions/[email protected]
254254
with:
255-
dotnet-version: 6.0.201
255+
dotnet-version: 7.0.x
256256

257257
- name: Install dependencies
258258
run: dotnet restore
@@ -350,10 +350,10 @@ jobs:
350350
steps:
351351
- uses: actions/checkout@v4
352352

353-
- name: Setup .NET
353+
- name: Set up .NET
354354
uses: actions/[email protected]
355355
with:
356-
dotnet-version: 6.0.201
356+
dotnet-version: 7.0.x
357357

358358
- name: Install dependencies
359359
run: dotnet restore
@@ -437,10 +437,10 @@ jobs:
437437
steps:
438438
- uses: actions/checkout@v4
439439

440-
- name: Setup .NET
440+
- name: Set up .NET
441441
uses: actions/[email protected]
442442
with:
443-
dotnet-version: 6.0.201
443+
dotnet-version: 7.0.x
444444

445445
- name: Build .NET tool
446446
run: |
@@ -530,10 +530,10 @@ jobs:
530530
name: dotnet-tool-payload-sign
531531
path: signed
532532

533-
- name: Setup .NET
533+
- name: Set up .NET
534534
uses: actions/[email protected]
535535
with:
536-
dotnet-version: 6.0.201
536+
dotnet-version: 7.0.x
537537

538538
- name: Package tool
539539
run: |
@@ -707,10 +707,10 @@ jobs:
707707
# Remove the "revision" portion of the version
708708
echo "VERSION=$(cat VERSION | sed -E 's/.[0-9]+$//')" >> $GITHUB_ENV
709709
710-
- name: Set up dotnet
710+
- name: Set up .NET
711711
uses: actions/[email protected]
712712
with:
713-
dotnet-version: 6.0.201
713+
dotnet-version: 7.0.x
714714

715715
- name: Download artifacts
716716
uses: actions/download-artifact@v3

0 commit comments

Comments
 (0)