File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 88jobs :
99 publish :
1010 runs-on : ubuntu-latest
11+ strategy :
12+ matrix :
13+ dotnet-version : [8.0.x, 9.0.x]
1114
1215 steps :
1316 - name : Checkout repository
@@ -16,12 +19,12 @@ jobs:
1619 - name : Setup .NET
1720 uses : actions/setup-dotnet@v2
1821 with :
19- dotnet-version : ' 8.0.x '
22+ dotnet-version : ${{ matrix.dotnet-version }}
2023
2124 - name : Restore dependencies
2225 run : dotnet restore src/UnoKeyboard/UnoKeyboard.csproj
2326
24- - name : Build project
27+ - name : Build project with .NET ${{ matrix.dotnet-version }}
2528 run : dotnet build src/UnoKeyboard/UnoKeyboard.csproj --configuration Release
2629
2730 - name : List packaged files
3033 - name : Publish to NuGet
3134 env :
3235 NUGET_API_KEY : ${{ secrets.NUGET_API_KEY }}
33- run : dotnet nuget push src/UnoKeyboard/Packages/*.nupkg --api-key $NUGET_API_KEY --source https://api.nuget.org/v3/index.json
36+ run : dotnet nuget push src/UnoKeyboard/Packages/*.nupkg --api-key $NUGET_API_KEY --source https://api.nuget.org/v3/index.json
You can’t perform that action at this time.
0 commit comments