This repository was archived by the owner on Aug 14, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +28
-4
lines changed Expand file tree Collapse file tree 2 files changed +28
-4
lines changed Original file line number Diff line number Diff line change @@ -1493,15 +1493,27 @@ async function insertEnvVariables(file, target) {
1493
1493
file ,
1494
1494
target
1495
1495
) ;
1496
+ await insertEnvVariable (
1497
+ "SCOPE_SOURCE_ROOT" ,
1498
+ envVars [ "GITHUB_WORKSPACE" ] || "" ,
1499
+ file ,
1500
+ target
1501
+ ) ;
1496
1502
await insertEnvVariable (
1497
1503
"GITHUB_REPOSITORY" ,
1498
1504
envVars [ "GITHUB_REPOSITORY" ] || "" ,
1499
1505
file ,
1500
1506
target
1501
1507
) ;
1502
1508
await insertEnvVariable (
1503
- "SCOPE_SOURCE_ROOT" ,
1504
- envVars [ "GITHUB_WORKSPACE" ] || "" ,
1509
+ "GITHUB_RUN_ID" ,
1510
+ envVars [ "GITHUB_RUN_ID" ] || "" ,
1511
+ file ,
1512
+ target
1513
+ ) ;
1514
+ await insertEnvVariable (
1515
+ "GITHUB_RUN_NUMBER" ,
1516
+ envVars [ "GITHUB_RUN_NUMBER" ] || "" ,
1505
1517
file ,
1506
1518
target
1507
1519
) ;
Original file line number Diff line number Diff line change @@ -552,15 +552,27 @@ async function insertEnvVariables(file, target) {
552
552
file ,
553
553
target
554
554
) ;
555
+ await insertEnvVariable (
556
+ "SCOPE_SOURCE_ROOT" ,
557
+ envVars [ "GITHUB_WORKSPACE" ] || "" ,
558
+ file ,
559
+ target
560
+ ) ;
555
561
await insertEnvVariable (
556
562
"GITHUB_REPOSITORY" ,
557
563
envVars [ "GITHUB_REPOSITORY" ] || "" ,
558
564
file ,
559
565
target
560
566
) ;
561
567
await insertEnvVariable (
562
- "SCOPE_SOURCE_ROOT" ,
563
- envVars [ "GITHUB_WORKSPACE" ] || "" ,
568
+ "GITHUB_RUN_ID" ,
569
+ envVars [ "GITHUB_RUN_ID" ] || "" ,
570
+ file ,
571
+ target
572
+ ) ;
573
+ await insertEnvVariable (
574
+ "GITHUB_RUN_NUMBER" ,
575
+ envVars [ "GITHUB_RUN_NUMBER" ] || "" ,
564
576
file ,
565
577
target
566
578
) ;
You can’t perform that action at this time.
0 commit comments