-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
26 lines (26 loc) · 862 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
name: 'YAML-to-Markdown Changelog Generator'
branding:
icon: 'file-text'
color: 'blue'
description: 'Generates a changelog for a release based on a YAML file'
inputs:
changelog-directory:
description: "The directory where the changelog files are stored. Do not include a trailing slash."
required: true
default: "changelog"
release-tag-name:
description: "The version of the release"
required: true
runs:
using: "composite"
steps:
- name: Generate changelog
id: generate_changelog
run: |
sh ${{ github.action_path }}/scripts/generate_changelog.sh "${{ inputs.changelog-directory }}" "${{ inputs.release-tag-name }}" > changelog_output.md
shell: bash
- name: Upload changelog as artifact
uses: actions/upload-artifact@v2
with:
name: changelog
path: changelog_output.md