Skip to content

Commit c688b67

Browse files
committed
remove setup dotnet
1 parent b459616 commit c688b67

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

.github/workflows/publish.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@ jobs:
3131
with:
3232
fetch-depth: 0
3333

34-
- name: Setup .NET
35-
uses: actions/setup-dotnet@v4
36-
with:
37-
DOTNET_VERSION: 6.x
38-
3934
- name: Create Nuget Package
4035
run: |
4136
dotnet publish --configuration Release
@@ -53,11 +48,6 @@ jobs:
5348
runs-on: ubuntu-latest
5449
needs: [ create_nuget ]
5550
steps:
56-
- name: Setup .NET
57-
uses: actions/setup-dotnet@v4
58-
with:
59-
DOTNET_VERSION: 6.x
60-
6151
- uses: actions/download-artifact@v4
6252
with:
6353
name: nuget
@@ -76,11 +66,6 @@ jobs:
7666
- name: Checkout
7767
uses: actions/checkout@v4
7868

79-
- name: Setup .NET
80-
uses: actions/setup-dotnet@v4
81-
with:
82-
DOTNET_VERSION: 6.x
83-
8469
- name: Run tests
8570
run: dotnet test --configuration Release
8671

@@ -95,11 +80,6 @@ jobs:
9580
name: nuget
9681
path: ${{ env.NuGetDirectory }}
9782

98-
- name: Setup .NET Core
99-
uses: actions/setup-dotnet@v4
100-
with:
101-
DOTNET_VERSION: 6.x
102-
10383
- name: Publish NuGet package
10484
run: |
10585
foreach($file in (Get-ChildItem "${{ env.NuGetDirectory }}" -Recurse -Include *.nupkg)) {

0 commit comments

Comments
 (0)