1
0
Fork 0
github-action-koha-plugin-c.../action.yml

28 lines
934 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'
plugin-module:
description: 'Path to the plugin module relative to the plugin directory root, e.g. Koha/Plugin/Com/ByWaterSolutions/CurbsidePickup.pm'
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 }}
- ${{ inputs.plugin-module }}