Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (30 sloc) 850 Bytes
name: 'Apply Version to JSON file'
description: 'Adds a version number to a field in a JSON file'
author: 'Richard Fennell'
inputs:
Path:
description: 'Source folder Filter (folder under GITHUB_WORKSPACE)'
default: ''
required: false
VersionNumber:
description: 'Version Number'
default: ''
required: true
Field:
description: 'The version field to update, if blank all version fields are updated usually \"version\": \"1.1.1\"'
default: ''
required: false
FilenamePattern:
description: 'The filename extension to update e.g. .json'
default: '.json'
required: false
Recursion:
description: 'If true will search from specfied path for all matching files.'
default: 'true'
required: false
runs:
using: 'node12'
main: 'lib/main.js'
branding:
icon: 'file-text'
color: 'green'
You can’t perform that action at this time.