File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -7866,11 +7866,11 @@ async function run() {
7866
7866
const draft = core . getInput ( 'draft' , { required : false } ) === 'true' ;
7867
7867
const prerelease = core . getInput ( 'prerelease' , { required : false } ) === 'true' ;
7868
7868
7869
- const bodyFromFile = core . getInput ( 'bodyFromFile ' , { required : false } ) ;
7869
+ const bodyPath = core . getInput ( 'body_path ' , { required : false } ) ;
7870
7870
let bodyFileContent = null ;
7871
- if ( bodyFromFile !== '' && ! ! bodyFromFile ) {
7871
+ if ( bodyPath !== '' && ! ! bodyPath ) {
7872
7872
try {
7873
- bodyFileContent = fs . readFileSync ( bodyFromFile , { encoding : 'utf8' } ) ;
7873
+ bodyFileContent = fs . readFileSync ( bodyPath , { encoding : 'utf8' } ) ;
7874
7874
} catch ( error ) {
7875
7875
core . setFailed ( error . message ) ;
7876
7876
}
Original file line number Diff line number Diff line change @@ -20,11 +20,11 @@ async function run() {
20
20
const draft = core . getInput ( 'draft' , { required : false } ) === 'true' ;
21
21
const prerelease = core . getInput ( 'prerelease' , { required : false } ) === 'true' ;
22
22
23
- const bodyFromFile = core . getInput ( 'bodyFromFile ' , { required : false } ) ;
23
+ const bodyPath = core . getInput ( 'body_path ' , { required : false } ) ;
24
24
let bodyFileContent = null ;
25
- if ( bodyFromFile !== '' && ! ! bodyFromFile ) {
25
+ if ( bodyPath !== '' && ! ! bodyPath ) {
26
26
try {
27
- bodyFileContent = fs . readFileSync ( bodyFromFile , { encoding : 'utf8' } ) ;
27
+ bodyFileContent = fs . readFileSync ( bodyPath , { encoding : 'utf8' } ) ;
28
28
} catch ( error ) {
29
29
core . setFailed ( error . message ) ;
30
30
}
You can’t perform that action at this time.
0 commit comments