1
0
github-action-koha-plugin-c.../action.yml
2020-04-16 09:59:33 -04:00

25 lines
743 B
YAML

name: 'Koha Plugin kpz Builder'
description: 'Accepts a plugin name and version, and creates a Koha Plugin kpz file'
branding:
icon: 'file'
color: 'green'
inputs:
release-version: # id of input
description: 'Version for this koha plugin release, e.g. v1.0.3'
required: true
release-name:
description: 'Name of plugin repo, e.g. koha-plugin-kitchen-sink'
required: true
minimum-version:
description: 'Minimum version of Koha this plugin is compatible with e.g. 19.11'
outputs:
filename: # id of output
description: 'The name of the built kpz file'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.release-version }}
- ${{ inputs.release-name }}
- ${{ inputs.minimum-version }}