File tree 2 files changed +8
-5
lines changed
2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 17
17
post_comment :
18
18
runs-on : ubuntu-latest
19
19
steps :
20
- - name : Download artifact
21
- run : gh run download "${WORKFLOW_RUN_ID}" --repo "${GITHUB_REPOSITORY}" --name "comment"
20
+ - name : Download artifacts
21
+ run : |
22
+ gh run download "${WORKFLOW_RUN_ID}" --repo "${GITHUB_REPOSITORY}" --name "comment-pr-number"
23
+ gh run download "${WORKFLOW_RUN_ID}" --repo "${GITHUB_REPOSITORY}" --name "comment-body"
24
+ gh run download "${WORKFLOW_RUN_ID}" --repo "${GITHUB_REPOSITORY}" --name "comment-id"
22
25
env :
23
26
GITHUB_TOKEN : ${{ github.token }}
24
27
WORKFLOW_RUN_ID : ${{ github.event.workflow_run.id }}
Original file line number Diff line number Diff line change 38
38
PR_NUMBER : ${{ github.event.number }}
39
39
- uses : actions/upload-artifact@v4
40
40
with :
41
- name : comment
41
+ name : comment-pr-number
42
42
path : pr_number.txt
43
43
if-no-files-found : error
44
44
retention-days : 1
80
80
- if : ${{ !cancelled() }}
81
81
uses : actions/upload-artifact@v4
82
82
with :
83
- name : comment
83
+ name : comment-body
84
84
path : comment_body.txt
85
85
if-no-files-found : error
86
86
retention-days : 1
96
96
97
97
- uses : actions/upload-artifact@v4
98
98
with :
99
- name : comment
99
+ name : comment-id
100
100
path : comment_id.txt
101
101
if-no-files-found : error
102
102
retention-days : 1
You can’t perform that action at this time.
0 commit comments