File tree Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ function doPublish() {
58
58
59
59
const assetUpdateUrl = `https://uploads.github.com/repos/microsoft/react-native/releases/{id}/assets?name=react-native-${ releaseVersion } .tgz` ;
60
60
const authHeader =
61
- "Basic " + new Buffer ( ":" + process . env . githubToken ) . toString ( "base64" ) ;
61
+ "Basic " + new Buffer ( ":" + process . env . GIT_TOKEN ) . toString ( "base64" ) ;
62
62
const userAgent = "Microsoft-React-Native-Release-Agent" ;
63
63
64
64
let uploadReleaseAssetUrl = "" ;
Original file line number Diff line number Diff line change 3
3
push :
4
4
branches :
5
5
- master
6
+ paths :
7
+ - " !package.json"
6
8
7
9
jobs :
8
10
18
20
19
21
- run : npm install
20
22
21
- - name : github context
22
- run : echo %GITHUB_CONTEXT%
23
- env :
24
- GITHUB_CONTEXT : ${{ toJson(github) }}
25
-
26
- - name : job context
27
- run : echo %JOB_CONTEXT%
28
- env :
29
- JOB_CONTEXT : ${{ toJson(job) }}
30
-
31
23
- name : Bump package version
32
24
run : node .ado/bumpFileVersions.js
33
25
env :
58
50
- name : Do Publish
59
51
run : node .ado/publish.js
60
52
env :
61
- BUILD_STAGINGDIRECTORY : ${{ runner.temp }}\final
53
+ BUILD_STAGINGDIRECTORY : ${{ runner.temp }}
62
54
BUILD_SOURCEBRANCH : ${{ github.ref }}
63
55
GIT_TOKEN : ${{ secrets.GIT_TOKEN }}
64
56
You can’t perform that action at this time.
0 commit comments