Remove no-restore from build

This commit is contained in:
Daniel J. Summers 2024-03-23 18:37:08 -04:00 committed by GitHub
parent 04eea94e62
commit 3163c087f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -40,14 +40,10 @@ jobs:
uses: actions/setup-dotnet@v4.0.0
with:
dotnet-version: 8.x
# - name: Show current location
# run: pwd
# - name: Show files at current location
# run: ls -l
- name: Restore dependencies
run: dotnet restore src/MyWebLog.sln
- name: Build (${{ matrix.dotnet-version }})
run: dotnet build src/MyWebLog.sln --no-restore -f net${{ matrix.dotnet-version }}
run: dotnet build src/MyWebLog.sln -f net${{ matrix.dotnet-version }}
- name: Test (${{ matrix.dotnet-version }})
run: dotnet run --project src/MyWebLog.Tests/MyWebLog.Tests.fsproj -f net${{ matrix.dotnet-version }}