File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -175237,8 +175237,8 @@ const prepareNPMArtifactsMode = core.getInput("prepare-npm-artifacts-mode");
175237
175237
const bundleNPMArtifactsMode = core.getInput("bundle-npm-artifacts-mode");
175238
175238
const customPostInstallJS = core.getInput("postinstall-js");
175239
175239
function appendEnvironmentFile(key, value) {
175240
- let filename = process.env.GITHUB_OUTPUT;
175241
- external_fs_.appendFileSync(filename , `${key}=${value}\n`);
175240
+ external_fs_.appendFileSync( process.env.GITHUB_OUTPUT, `${key}=${value}\n`) ;
175241
+ external_fs_.appendFileSync(process.env.GITHUB_ENV , `${key}=${value}\n`);
175242
175242
}
175243
175243
function run(name, command, args) {
175244
175244
return __awaiter(this, void 0, void 0, function* () {
Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ const bundleNPMArtifactsMode = core.getInput("bundle-npm-artifacts-mode");
19
19
const customPostInstallJS = core . getInput ( "postinstall-js" ) ;
20
20
21
21
function appendEnvironmentFile ( key : string , value : string ) {
22
- let filename = process . env . GITHUB_OUTPUT ! ;
23
- fs . appendFileSync ( filename , `${ key } =${ value } \n` ) ;
22
+ fs . appendFileSync ( process . env . GITHUB_OUTPUT ! , ` ${ key } = ${ value } \n` ) ;
23
+ fs . appendFileSync ( process . env . GITHUB_ENV ! , `${ key } =${ value } \n` ) ;
24
24
}
25
25
26
26
async function run ( name : string , command : string , args : string [ ] ) {
You can’t perform that action at this time.
0 commit comments