File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,7 @@ concurrency:
1717 cancel-in-progress : false
1818
1919env :
20- is-release : ${{ startsWith(github.ref_name, 'release') }}
21- is-preview : ${{ startsWith(github.ref_name, 'preview') }}
20+ is-release : ${{ startsWith(github.ref_name, 'release') || startsWith(github.ref_name, 'preview') }}
2221 dotnet-sdk-version : ' 9.x'
2322 build-configuration : ' Release'
2423 build-platform : ' Any CPU'
@@ -165,7 +164,7 @@ jobs:
165164 environment : ' Development'
166165
167166 publish-production-package :
168- if : ${{ needs.global-variables.outputs.is-release || needs.global-variables.outputs.is-preview }}
167+ if : ${{ needs.global-variables.outputs.is-release == 'true' }}
169168 name : ' Publish'
170169 uses : ./.github/workflows/release-nuget-package.yml
171170 needs : [global-variables, pack]
You can’t perform that action at this time.
0 commit comments