File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ function run() {
95
95
output = output . replace ( / \n / g, '%0A' ) ;
96
96
output = output . replace ( / \r / g, '%0D' ) ;
97
97
core . info ( output ) ;
98
- const setoutputCommand = `echo "::set-output name= diff:: ${ output } "` ;
98
+ const setoutputCommand = `echo "diff= ${ output } " >> $GITHUB_OUTPUT ` ;
99
99
exec . exec ( setoutputCommand ) . catch ( error => {
100
100
core . setFailed ( error . message ) ;
101
101
} ) ;
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ async function run(): Promise<void> {
65
65
66
66
core . info ( output )
67
67
68
- const setoutputCommand = `echo "::set-output name= diff:: ${ output } "`
68
+ const setoutputCommand = `echo "diff= ${ output } " >> $GITHUB_OUTPUT `
69
69
exec . exec ( setoutputCommand ) . catch ( error => {
70
70
core . setFailed ( error . message )
71
71
} )
You can’t perform that action at this time.
0 commit comments