Skip to content

Commit 05b4773

Browse files
committed
ci(0.76): check publish_react_native_macos with a runtime condition
1 parent bf174c8 commit 05b4773

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.ado/templates/npm-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ steps:
1414
- script: |
1515
yarn nx release --dry-run
1616
displayName: Version and publish packages (dry run)
17-
condition: ${{ ne(variables['publish_react_native_macos'], '1') }}
17+
condition: and(succeeded(), ne(variables['publish_react_native_macos'], '1'))
1818
1919
- script: |
2020
yarn nx release --yes
2121
env:
2222
GITHUB_TOKEN: $(githubAuthToken)
2323
NODE_AUTH_TOKEN: $(npmAuthToken)
2424
displayName: Version and publish packages
25-
condition: ${{ eq(variables['publish_react_native_macos'], '1') }}
25+
condition: and(succeeded(), ne(variables['publish_react_native_macos'], '1'))

0 commit comments

Comments
 (0)