Update Gitea CI workflow to restore class library and test project dependencies separately
This commit is contained in:
@@ -26,8 +26,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
dotnet-version: '8.0.x'
|
dotnet-version: '8.0.x'
|
||||||
|
|
||||||
- name: Restore dependencies
|
- name: Restore class library
|
||||||
run: dotnet restore
|
run: dotnet restore classlib/classlib.csproj
|
||||||
|
|
||||||
|
- name: Restore test project
|
||||||
|
run: dotnet restore classlib.tests/classlib.tests.csproj
|
||||||
|
|
||||||
- name: Build class library
|
- name: Build class library
|
||||||
run: dotnet build classlib/classlib.csproj --configuration Release --no-restore
|
run: dotnet build classlib/classlib.csproj --configuration Release --no-restore
|
||||||
|
|||||||
Reference in New Issue
Block a user