mirror of
https://github.com/denglihong2007/CRSim
synced 2026-08-10 03:16:08 +08:00
fix(ci): Explicitly target solution file in build process
The GitHub Actions workflow was failing to build the solution because it was not explicitly targeting the CRSim.sln file. This caused the build to fail with missing project reference errors. This change modifies the 'Restore and Build' step in the release.yml workflow to explicitly target the CRSim.sln file for both the 'dotnet restore' and 'dotnet build' commands. This ensures that all projects in the solution are correctly restored and built, resolving the build failure.
This commit is contained in:
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -78,8 +78,8 @@ jobs:
|
||||
|
||||
- name: Restore and Build
|
||||
run: |
|
||||
dotnet restore
|
||||
dotnet build --configuration Release --no-restore
|
||||
dotnet restore CRSim.sln
|
||||
dotnet build CRSim.sln --configuration Release --no-restore
|
||||
|
||||
- name: Generate changelog
|
||||
uses: orhun/git-cliff-action@v4
|
||||
|
||||
Reference in New Issue
Block a user