Skip to content

Commit c65c689

Browse files
committed
2 parents a8490a1 + 95e06e5 commit c65c689

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/publish-package.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ jobs:
1616
steps:
1717
- name: Checkout repository
1818
uses: actions/checkout@v2
19+
20+
- name: Setup .NET 6
21+
uses: actions/setup-dotnet@v1
22+
with:
23+
dotnet-version: 6.0.x
1924

2025
- name: Setup .NET 5
2126
uses: actions/setup-dotnet@v1
@@ -34,4 +39,4 @@ jobs:
3439
run: dotnet pack -c Release -o out -p:PackageVersion=${{env.PACKAGE_VERSION}} -p:RepositoryUrl=${{env.CURRENT_REPO_URL}}
3540

3641
- name: Publish the package to nuget.org
37-
run: dotnet nuget push ./out/*.nupkg --skip-duplicate --no-symbols true -k ${{ secrets.NUGET_AUTH_TOKEN}} -s https://api.nuget.org/v3/index.json
42+
run: dotnet nuget push ./out/*.nupkg --skip-duplicate --no-symbols true -k ${{ secrets.NUGET_AUTH_TOKEN}} -s https://api.nuget.org/v3/index.json

0 commit comments

Comments
 (0)