Skip to content

Commit eb57d69

Browse files
committed
modified: dist/index.js
1 parent d0aa9d5 commit eb57d69

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

dist/index.js

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4151,7 +4151,8 @@ async function run() {
41514151

41524152
// Set the output variable for use by other actions: https://github.com/actions/toolkit/tree/master/packages/core#inputsoutputs
41534153
//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`);
41554156

41564157

41574158
} catch (error) {
@@ -6722,16 +6723,16 @@ function getInput(name, options) {
67226723
return val.trim();
67236724
}
67246725
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;
67356736
//-----------------------------------------------------------------------
67366737
// Results
67376738
//-----------------------------------------------------------------------

0 commit comments

Comments
 (0)