add caching and some cleanup

This commit is contained in:
Adam Hathcock
2023-03-21 13:41:36 +00:00
parent 813d9eace3
commit fa2a52ff41
5 changed files with 69 additions and 42 deletions

View File

@@ -18,6 +18,13 @@ jobs:
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: NuGet Caching
uses: actions/cache@v3
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('packages.lock.json', '*/packages.lock.json') }}
restore-keys: |
${{ runner.os }}-nuget-
- run: dotnet run --project build/build.csproj
- uses: actions/upload-artifact@v3
with: