Bump actions/upload-artifact from 6.0.0 to 7.0.0 #461
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: License Scanning | |
| on: | |
| push: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| dotnet-modules-scan: | |
| name: dotnet-scan | |
| runs-on: ubuntu-latest | |
| continue-on-error: false | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@baa11fbfe1d6520db94683bd5c7a3818018e4309 # v5.1.0 | |
| with: | |
| dotnet-version: 8.x | |
| - name: Build project with dotnet | |
| run: dotnet build --configuration Release | |
| working-directory: 'src' | |
| - name: Install nuget-license | |
| run: dotnet tool install --global nuget-license --version 3.1.3 | |
| working-directory: 'src' | |
| - name: run nuget license | |
| run: nuget-license -i fdc3-dotnet.sln --allowed-license-types ../.license/allowed-licenses.json --output JsonPretty --error-only -exclude-projects ../.license/excluded-projects.json -mapping ../.license/license-mapping.json | |
| working-directory: 'src' |