Skip to content

Commit

Permalink
ci(0.76): check publish_react_native_macos with a runtime condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Saadnajmi committed Dec 6, 2024
1 parent 01a86f9 commit 6189ed0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .ado/templates/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ steps:
- script: |
yarn nx release --dry-run
displayName: Version and publish packages (dry run)
condition: ${{ ne(variables['publish_react_native_macos'], '1') }}
condition: and(succeeded(), ne(variables['publish_react_native_macos'], '1'))
- script: |
yarn nx release --yes
env:
GITHUB_TOKEN: $(githubAuthToken)
NODE_AUTH_TOKEN: $(npmAuthToken)
displayName: Version and publish packages
condition: ${{ eq(variables['publish_react_native_macos'], '1') }}
condition: and(succeeded(), eq(variables['publish_react_native_macos'], '1'))

0 comments on commit 6189ed0

Please sign in to comment.