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