Skip to content

Commit cd9eacf

Browse files
ci: add workflow to publish PR artifacts (#5491)
1 parent 25c06d7 commit cd9eacf

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
name: Publish Artifacts
3+
4+
on:
5+
workflow_run:
6+
workflows: ["CI"]
7+
types:
8+
- completed
9+
10+
permissions: {}
11+
12+
jobs:
13+
publish:
14+
if: >-
15+
github.event.workflow_run.event == 'pull_request' &&
16+
(github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure')
17+
permissions:
18+
actions: read
19+
pull-requests: write
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: Publish PR artifacts
23+
uses: LizardByte/actions/actions/artifact_comment@f2409e3fffa358332f00b0004d181973754b64b3 # master
24+
with:
25+
artifact_patterns: build-*

0 commit comments

Comments
 (0)