File tree 3 files changed +7
-0
lines changed
3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,9 @@ inputs:
17
17
description : ' Whether to pin your Weekly Radar and unpin the previous one'
18
18
default : false
19
19
required : false
20
+ outputs :
21
+ issue_number :
22
+ description : ' The issue number of the created radar issue'
20
23
runs :
21
24
using : ' node12'
22
25
main : ' dist/index.js'
Original file line number Diff line number Diff line change @@ -649,6 +649,8 @@ Previously: #${currentRadarNumber}`
649
649
core . debug ( `newRadarId: ${ newRadarId } ` ) ;
650
650
await pin ( newRadarId ) ;
651
651
}
652
+
653
+ core . setOutput ( 'issue_number' , newRadarNumber ) ;
652
654
}
653
655
catch ( error ) {
654
656
core . error ( `Error encountered: ${ error } .` ) ;
Original file line number Diff line number Diff line change @@ -148,6 +148,8 @@ Previously: #${currentRadarNumber}`
148
148
core . debug ( `newRadarId: ${ newRadarId } ` ) ;
149
149
await pin ( newRadarId ) ;
150
150
}
151
+
152
+ core . setOutput ( 'issue_number' , newRadarNumber ) ;
151
153
}
152
154
catch ( error ) {
153
155
core . error ( `Error encountered: ${ error } .` ) ;
You can’t perform that action at this time.
0 commit comments