-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
33 lines (30 loc) · 898 Bytes
/
action.yml
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
name: "releasenote generator"
description: "bash releasenote generator for keepachangelog format"
inputs:
version:
description: "version to get from changelog"
required: true
default: "latest"
changelog:
description: "changelog file"
required: true
default: "CHANGELOG.md"
releasenotes:
description: "release notes file"
required: true
default: "RELEASENOTES.md"
outputs:
releasenotes:
description: "release notes as a string"
value: ${{ steps.read.outputs.content }}
runs:
using: "composite"
steps:
- name: generate release notes
shell: bash
run: bash ${{ github.action_path }}/releasenote-gen.sh "${{ inputs.version }}" "${{ inputs.changelog }}" "${{ inputs.releasenotes }}"
- name: read release notes
id: read
uses: juliangruber/read-file-action@v1
with:
path: "${{ inputs.releasenotes }}"