File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,24 +45,28 @@ jobs:
4545 run-number : ${{ needs.global-variables.outputs.github-run-number }}
4646
4747 validate :
48- if : ${{ needs.global-variables.outputs.is-release == 'true' }}
4948 name : ' Validate'
5049 needs : [global-variables, build]
5150 runs-on : ubuntu-latest
5251
5352 steps :
54- - name : ' Checkout ${{ github.head_ref || github.ref }}'
53+ - if : ${{ needs.global-variables.outputs.is-release == 'true' }}
54+ name : ' Checkout ${{ github.head_ref || github.ref }}'
5555 uses : actions/checkout@v4
5656
57- - name : ' Setup .NET'
57+ - if : ${{ needs.global-variables.outputs.is-release == 'true' }}
58+ name : ' Setup .NET'
5859 uses : actions/setup-dotnet@v4
5960 with :
6061 dotnet-version : ${{ env.dotnet-sdk-version }}
6162
62- - name : ' Validate warnings with .NET CLI'
63+ - if : ${{ needs.global-variables.outputs.is-release == 'true' }}
64+ name : ' Validate warnings with .NET CLI'
6365 shell : bash
6466 run : dotnet format analyzers --severity warn --verify-no-changes
6567
68+ - run : exit 0
69+
6670 publish-package :
6771 name : ' Publish'
6872 uses : ./.github/workflows/publish-nuget-package.yml
You can’t perform that action at this time.
0 commit comments