@@ -4151,7 +4151,8 @@ async function run() {
4151
4151
4152
4152
// Set the output variable for use by other actions: https://github.com/actions/toolkit/tree/master/packages/core#inputsoutputs
4153
4153
//core.setOutput('browser_download_url', browserDownloadUrl);
4154
- console . log ( `::set-output name=browser_download_url::${ browserDownloadUrl } ` ) ;
4154
+ const fs = require ( 'fs' ) ;
4155
+ fs . appendFileSync ( process . env . GITHUB_OUTPUT , `{browser_download_url}=${ browserDownloadUrl } \n` ) ;
4155
4156
4156
4157
4157
4158
} catch ( error ) {
@@ -6722,16 +6723,16 @@ function getInput(name, options) {
6722
6723
return val . trim ( ) ;
6723
6724
}
6724
6725
exports . getInput = getInput ;
6725
- /**
6726
- * Sets the value of an output.
6727
- *
6728
- * @param name name of the output to set
6729
- * @param value value to store
6730
- */
6731
- function setOutput ( name , value ) {
6732
- command_1 . issueCommand ( 'set-output' , { name } , value ) ;
6733
- }
6734
- exports . setOutput = setOutput ;
6726
+ // / **
6727
+ // * Sets the value of an output.
6728
+ // *
6729
+ // * @param name name of the output to set
6730
+ // * @param value value to store
6731
+ // */
6732
+ // function setOutput(name, value) {
6733
+ // command_1.issueCommand('set-output', { name }, value);
6734
+ // }
6735
+ // exports.setOutput = setOutput;
6735
6736
//-----------------------------------------------------------------------
6736
6737
// Results
6737
6738
//-----------------------------------------------------------------------
0 commit comments