Skip to content

Commit

Permalink
Explicitly target ruptura.proj instead of the default ruptura.sln in …
Browse files Browse the repository at this point in the history
…workflows.

Building from the solution file does not properly propagate the $(Configuration)
value to the module project, resulting in Release build failures because the
module gets built in Debug mode.
  • Loading branch information
alexrp committed Dec 5, 2023
1 parent 773120d commit 9ab0074
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Build project
run: |
dotnet tool restore
dotnet publish -c ${{ matrix.cfg }}
dotnet publish ruptura.proj -c ${{ matrix.cfg }}
- name: Run samples
run: |
dotnet example --all
2 changes: 1 addition & 1 deletion .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Build project
run: |
dotnet tool restore
dotnet build
dotnet build ruptura.proj
- name: Upload GitHub packages
run: |
dotnet gpr push pkg/feed/*.nupkg -k ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Build project
run: |
dotnet tool restore
dotnet build -c Release
dotnet build ruptura.proj -c Release
- name: Upload NuGet packages
run: |
dotnet nuget push pkg/feed/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_TOKEN }} --skip-duplicate

0 comments on commit 9ab0074

Please sign in to comment.