-
Notifications
You must be signed in to change notification settings - Fork 2
42 lines (34 loc) · 938 Bytes
/
compile-notes.yml
File metadata and controls
42 lines (34 loc) · 938 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Compile Release Notes
on:
workflow_call:
inputs:
icloudpd_version:
required: true
type: string
jobs:
build_notes:
runs-on: ubuntu-22.04
steps:
- name: Download artifacts (compatibility)
uses: actions/download-artifact@v4
with:
name: icloudpd-compatibility
path: |
dist
- name: Download artifacts (changelog)
uses: actions/download-artifact@v4
with:
name: icloudpd-changelog
path: |
dist
- name: Merge Release Notes
run: |
cat dist/changelog-*.md > dist/notes-${{inputs.icloudpd_version}}.md
cat dist/compatibility-*.md >> dist/notes-${{inputs.icloudpd_version}}.md
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: icloudpd-notes
if-no-files-found: error
path: |
dist/notes-${{inputs.icloudpd_version}}.md