add: cache nuget packages in action

This commit is contained in:
jackfiled 2024-03-11 12:13:12 +08:00
parent 46c4a5e5ea
commit 4dd58feeed

View File

@ -7,5 +7,10 @@ jobs:
steps:
- name: Check out repository code
uses: https://git.rrricardo.top/actions/checkout@v4
- name: Cache nuget packages
uses: https://git.rrricardo.top/actions/cache@v4
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget
- name: Run test code
run: dotnet test