Skip to content

Commit d11a88d

Browse files
author
Petr Sramek
committed
lets test it
1 parent 0507052 commit d11a88d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ concurrency:
1717
cancel-in-progress: false
1818

1919
env:
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]

0 commit comments

Comments
 (0)