From 4dd58feeed52c7dcc71a4ab393549af557c007cb Mon Sep 17 00:00:00 2001 From: jackfiled Date: Mon, 11 Mar 2024 12:13:12 +0800 Subject: [PATCH] add: cache nuget packages in action --- .gitea/workflows/test.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 62177f1..b69a95c 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -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