File tree 3 files changed +6
-0
lines changed
3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,9 @@ description:
36
36
**Output**
37
37
38
38
` ` ` plaintext
39
+ input_paths :
40
+ description : ' The local paths to the input images that were uploaded.'
41
+ example : ' ["./img1.png", "./img2.png"]'
39
42
imgur_urls :
40
43
description : ' The urls to the images as a JSON.stringified array.'
41
44
example : ' ["https://i.imgur.com/j1KnFp1.png", "https://i.imgur.com/UfhRqDR.png"]'
Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ inputs:
15
15
default : " Images uploaded by public-upload-to-imgur GitHub Action"
16
16
required : false
17
17
outputs :
18
+ input paths :
19
+ description : ' The local paths to the input images that were uploaded.'
18
20
imgur_urls :
19
21
description : ' The urls to the images as a JSON.stringified array.'
20
22
markdown_urls :
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ async function main() {
28
28
} )
29
29
)
30
30
31
+ core . setOutput ( "input_paths" , JSON . stringify ( img_paths ) )
31
32
core . setOutput ( "imgur_urls" , JSON . stringify ( links ) )
32
33
let markdown_urls = links . map ( link => `` )
33
34
core . setOutput ( "markdown_urls" , JSON . stringify ( markdown_urls ) )
You can’t perform that action at this time.
0 commit comments