File tree Expand file tree Collapse file tree 2 files changed +23
-6
lines changed
Expand file tree Collapse file tree 2 files changed +23
-6
lines changed Original file line number Diff line number Diff line change 1919 with :
2020 dotnet-version : 9.0.x
2121
22- - name : Buid an example project
23- run : |
24- dotnet new install .\
25- dotnet new mudblazor-server-solution -n AppName -o ./app
26- dotnet build ./app/AppName.sln
2722 - name : pack
2823 run : dotnet pack --output ./nupkg
2924
3025 - name : Push to nuget
3126 run : dotnet nuget push ./nupkg/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}
32-
Original file line number Diff line number Diff line change 1+ name : test-template
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+
8+ jobs :
9+ test-template :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - uses : actions/checkout@v4
14+ - name : Setup .NET
15+ uses : actions/setup-dotnet@v4
16+ with :
17+ dotnet-version : 9.0.x
18+
19+ - name : Test template build
20+ run : |
21+ dotnet new install .\
22+ dotnet new mudblazor-server-solution -n AppName -o ./app
23+ dotnet build ./app/AppName.sln
You can’t perform that action at this time.
0 commit comments