Skip to content

Commit ee8b552

Browse files
committed
fix(ci): build projects individually instead of solution restore
1 parent 76ed02e commit ee8b552

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ jobs:
1919
with:
2020
dotnet-version: 8.0.x
2121

22-
- name: Restore dependencies
23-
run: dotnet restore src/CodingWithCalvin.VsixSdk.slnx
22+
- name: Create artifacts directory
23+
run: New-Item -ItemType Directory -Force -Path artifacts/packages
2424

2525
- name: Build SDK
26-
run: dotnet build src/CodingWithCalvin.VsixSdk/CodingWithCalvin.VsixSdk.csproj -c Release --no-restore
26+
run: dotnet build src/CodingWithCalvin.VsixSdk/CodingWithCalvin.VsixSdk.csproj -c Release
2727

2828
- name: Build Templates
29-
run: dotnet pack src/CodingWithCalvin.VsixSdk.Templates/CodingWithCalvin.VsixSdk.Templates.csproj -c Release --no-restore
29+
run: dotnet pack src/CodingWithCalvin.VsixSdk.Templates/CodingWithCalvin.VsixSdk.Templates.csproj -c Release
3030

3131
- name: Build Sample Extension
3232
run: dotnet build samples/SampleExtension/SampleExtension.csproj -c Release

0 commit comments

Comments
 (0)