You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .ado/publish.yml
+8-26Lines changed: 8 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,3 @@
1
-
# This file defines the build steps to publish a release
2
1
name: $(Date:yyyyMMdd).$(Rev:.r)
3
2
4
3
trigger:
@@ -14,11 +13,15 @@ trigger:
14
13
pr: none
15
14
16
15
variables:
17
-
- template: /.ado/variables/vars.yml@self
18
16
- group: React-native-macos Secrets
19
17
- group: InfoSec-SecurityResults
20
18
- name: tags
21
19
value: production,externalfacing
20
+
# CodeQL Still has not fixed their bug running on Apple ARM64 jobs where they inject x64 binaries into arm64 processes and just make it crash :(
21
+
# Only workaround for now is to disable CodeQL on Apple jobs.
22
+
- name: Codeql.Enabled
23
+
value: false
24
+
- template: /.ado/variables/vars.yml@self
22
25
23
26
resources:
24
27
repositories:
@@ -47,28 +50,7 @@ extends:
47
50
# Justification: js files in this repo are flow files. the built-in eslint does not support this. Adding a separate step to run the sdl rules for flow files.
48
51
exclusionPatterns: '**/*.js'
49
52
stages:
50
-
- stage: main
53
+
- stage: NPM
54
+
dependsOn: []
51
55
jobs:
52
-
- job: RNGithubNpmJSPublish
53
-
displayName: NPM Publish React-native-macos
54
-
pool:
55
-
name: cxeiss-ubuntu-20-04-large
56
-
image: cxe-ubuntu-20-04-1es-pt
57
-
os: linux
58
-
variables:
59
-
- name: BUILDSECMON_OPT_IN
60
-
value: true
61
-
timeoutInMinutes: 90# how long to run the job before automatically cancelling
62
-
cancelTimeoutInMinutes: 5# how much time to give 'run always even if cancelled tasks' before killing them
63
-
templateContext:
64
-
outputs:
65
-
- output: pipelineArtifact
66
-
targetPath: $(System.DefaultWorkingDirectory)
67
-
artifactName: github-npm-js-publish
68
-
steps:
69
-
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
70
-
clean: true # whether to fetch clean each time
71
-
fetchFilter: blob:none # partial clone for faster clones while maintaining history
72
-
persistCredentials: true # set to 'true' to leave the OAuth token in the Git config after the initial fetch
0 commit comments