File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed
Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,11 @@ on: [push, pull_request]
44
55env :
66 Configuration : Release
7+ ContinuousIntegrationBuild : true
78 DOTNET_CLI_TELEMETRY_OPTOUT : true
89 DOTNET_NOLOGO : true
10+ DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION : true
11+ TERM : xterm-256color
912
1013jobs :
1114 build :
@@ -16,23 +19,29 @@ jobs:
1619 uses : actions/checkout@v4
1720 with :
1821 fetch-depth : 0
19- - name : Setup .NET SDK
20- uses : actions/setup-dotnet@v4
22+
23+ - uses : actions/setup-dotnet@v4
2124 with :
22- dotnet-version : 8.0.x
25+ dotnet-version : |
26+ 6.x
27+ 8.x
28+
2329 - name : Create local NuGet source
2430 run : |
2531 mkdir ..\LocalPackages
2632 $pkgdir = Resolve-Path ..\LocalPackages
2733 dotnet nuget add source $pkgdir --name Local
34+
2835 - name : Build library package
2936 run : |
30- dotnet restore --configuration Release -p:ContinuousIntegrationBuild=true --verbosity normal
31- dotnet pack --no-restore --configuration Release -p:ContinuousIntegrationBuild=true --verbosity normal
37+ dotnet tool restore
38+ dotnet pack --no-build --verbosity normal
39+
3240 - name : Install library package
3341 run : |
3442 $pkg = Resolve-Path QrCodeGenerator\bin\Release\Net.Codecrete.QrCodeGenerator.*.nupkg
3543 nuget push $pkg -Source Local
44+
3645 - name : Build Demo-ImageSharp
3746 run : dotnet build
3847 working-directory : Demo-ImageSharp
You can’t perform that action at this time.
0 commit comments