Skip to content

Commit 2032d67

Browse files
authored
Update nuget-publish.yml
1 parent 6f5211a commit 2032d67

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/nuget-publish.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ jobs:
1111
- name: Checkout repository
1212
uses: actions/checkout@v1
1313
- name: Setup .NET Core @ Latest
14-
uses: actions/setup-dotnet@v1
15-
with:
16-
dotnet-version: 3.1
14+
uses: actions/setup-dotnet@v3
1715
env:
1816
NUGET_AUTH_TOKEN: ${{ secrets.NUGET_AUTH_TOKEN }}
1917
- name: Build solution and generate NuGet package
@@ -31,9 +29,8 @@ jobs:
3129
- name: Checkout repository
3230
uses: actions/checkout@v1
3331
- name: Setup .NET Core @ Latest
34-
uses: actions/setup-dotnet@v1
32+
uses: actions/setup-dotnet@v3
3533
with:
36-
dotnet-version: 3.1.x
3734
source-url: https://nuget.pkg.github.com/Contentstack/index.json
3835
env:
3936
NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)