Skip to content

Commit 1e55eb7

Browse files
committed
Use net9 in ci.yml
1 parent 57cb888 commit 1e55eb7

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
with:
3333
dotnet-version: |
3434
6.0.x
35-
8.0.x
35+
9.0.x
3636
3737
- name: Setup .NET nanoFramework build components
3838
uses: nanoframework/nanobuild@v1
@@ -101,9 +101,11 @@ jobs:
101101
- name: Setup .NET SDK
102102
uses: actions/setup-dotnet@v4
103103
with:
104-
dotnet-version: 8.0.x
104+
dotnet-version: 9.0.x
105105

106106
- name: Push to nuget.org
107+
env:
108+
NUGET_ORG_APIKEY: ${{ secrets.NUGET_ORG_APIKEY }}
107109
run: |
108-
dotnet nuget push "**/*.nupkg" --skip-duplicate --api-key ${{ secrets.NUGET_ORG_APIKEY }} --source https://api.nuget.org/v3/index.json
109-
working-directory: nugets
110+
dotnet nuget push "**/*.nupkg" --skip-duplicate --api-key $NUGET_ORG_APIKEY --source https://api.nuget.org/v3/index.json
111+
working-directory: nugets

0 commit comments

Comments
 (0)