File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -45,24 +45,28 @@ jobs:
45
45
run-number : ${{ needs.global-variables.outputs.github-run-number }}
46
46
47
47
validate :
48
- if : ${{ needs.global-variables.outputs.is-release == 'true' }}
49
48
name : ' Validate'
50
49
needs : [global-variables, build]
51
50
runs-on : ubuntu-latest
52
51
53
52
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 }}'
55
55
uses : actions/checkout@v4
56
56
57
- - name : ' Setup .NET'
57
+ - if : ${{ needs.global-variables.outputs.is-release == 'true' }}
58
+ name : ' Setup .NET'
58
59
uses : actions/setup-dotnet@v4
59
60
with :
60
61
dotnet-version : ${{ env.dotnet-sdk-version }}
61
62
62
- - name : ' Validate warnings with .NET CLI'
63
+ - if : ${{ needs.global-variables.outputs.is-release == 'true' }}
64
+ name : ' Validate warnings with .NET CLI'
63
65
shell : bash
64
66
run : dotnet format analyzers --severity warn --verify-no-changes
65
67
68
+ - run : exit 0
69
+
66
70
publish-package :
67
71
name : ' Publish'
68
72
uses : ./.github/workflows/publish-nuget-package.yml
You can’t perform that action at this time.
0 commit comments