Skip to content

Commit

Permalink
Update ci.yml by specifying solution file to restore, build and test
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverzick authored Oct 28, 2024
1 parent cb827f4 commit 174b35d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ on: [push, pull_request]
jobs:
ci:
runs-on: windows-latest
env:
SOLUTION_FILE: "src/Delizious-Ini.sln"
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -11,8 +13,8 @@ jobs:
- name: Display .NET version
run: dotnet --version
- name: Restore dependencies
run: dotnet restore
run: dotnet restore "$SOLUTION_FILE"
- name: Build
run: dotnet build --configuration Release --no-restore
run: dotnet build "$SOLUTION_FILE" --configuration Release --no-restore
- name: Test
run: dotnet test --configuration Release --no-restore --no-build --verbosity normal
run: dotnet test "$SOLUTION_FILE" --configuration Release --no-restore --no-build

0 comments on commit 174b35d

Please sign in to comment.