From 76a732cea74024e0ea44e5fb79f27e5d4bba4e73 Mon Sep 17 00:00:00 2001 From: storm Date: Sun, 24 Nov 2024 19:17:50 +0700 Subject: [PATCH] remove unnecessary files --- .github/workflows/WebAPI.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/WebAPI.yml b/.github/workflows/WebAPI.yml index 26d7ded..d314d29 100644 --- a/.github/workflows/WebAPI.yml +++ b/.github/workflows/WebAPI.yml @@ -14,12 +14,14 @@ jobs: runs-on: self-hosted steps: - uses: actions/checkout@v4 + - name: Remove unnecessary files + run: | + sudo rm -rf /usr/share/dotnet + sudo rm -rf "$AGENT_TOOLSDIRECTORY" - name: Setup .NET uses: actions/setup-dotnet@v4 with: dotnet-version: 6.0.x - - name: current directory - run: pwd - name: Gen cert for dev run: dotnet dev-certs https - name: Restore dependencies