From 2516279abf352d7dfed0099d3005ef57ae164e02 Mon Sep 17 00:00:00 2001 From: Timothy Schenk Date: Mon, 29 Jan 2024 14:11:51 +0100 Subject: [PATCH] chore: dotnet tools not exported --- .gitea/workflows/server.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/server.yaml b/.gitea/workflows/server.yaml index 99fefa0..3756554 100644 --- a/.gitea/workflows/server.yaml +++ b/.gitea/workflows/server.yaml @@ -188,10 +188,14 @@ jobs: uses: https://github.com/actions/setup-dotnet@v3 with: dotnet-version: 8.0 + - name: Install dependencies + run: | + dotnet restore + echo "::add-path::$HOME/.dotnet/tools" - name: Install nuget-license run: dotnet tool install --global dotnet-project-licenses - name: Export licenses - run: dotnet project-licenses -i . -u --projects-filter .\projects_ignore_licenses.json -m -j -e -f licenses + run: dotnet-project-licenses -i . -u --projects-filter .\projects_ignore_licenses.json -m -j -e -f licenses - name: Package licenses run: zip licenses - name: Upload licenses