Bump dotnet-reportgenerator-globaltool from 5.5.9 to 5.5.10 #24
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: Library | |
| on: | |
| push: | |
| branches: [master] | |
| paths-ignore: | |
| - .github/dependabot.yml | |
| - .vscode/** | |
| - .editorconfig | |
| - .gitignore | |
| pull_request: | |
| paths-ignore: | |
| - .github/dependabot.yml | |
| - .vscode/** | |
| - .editorconfig | |
| - .gitignore | |
| env: | |
| DOTNET_NOLOGO: true | |
| DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true | |
| DOTNET_CLI_TELEMETRY_OPTOUT: true | |
| jobs: | |
| library: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6.0.2 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v5.2.0 | |
| with: | |
| dotnet-version: 9.0 | |
| - name: Lint dotnet | |
| run: dotnet format --verify-no-changes --verbosity detailed | |
| - name: Build with dotnet | |
| run: dotnet build --configuration Release | |
| - name: Pack | |
| run: | | |
| TAG=$(date +%Y.%-m.%-d.)${{ github.run_number }} | |
| REPOSITORYURL=${{ github.server_url }}/${{ github.repository }} | |
| echo TAG=$TAG | |
| echo REPOSITORYURL=$REPOSITORYURL | |
| dotnet pack -p:PackageVersion=$TAG -p:RepositoryUrl=$REPOSITORYURL | |
| - name: Publish | |
| if: github.event_name == 'push' && !github.event.dryrun | |
| run: | | |
| dotnet nuget push artifacts/package/release/*.nupkg \ | |
| --api-key ${{ github.token }} \ | |
| --source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json \ | |
| --skip-duplicate \ | |
| --no-symbols |