Skip to content

Commit 67557f4

Browse files
committed
CI pipeline fix attempt
1 parent b5a77f5 commit 67557f4

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

.github/workflows/demos.yaml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ on: [push, pull_request]
44

55
env:
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

1013
jobs:
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

0 commit comments

Comments
 (0)