added setupoptions for github

This commit is contained in:
Artur Stolear
2019-11-22 14:54:31 +02:00
parent cfab55b468
commit efb7ef8fa1
14 changed files with 97 additions and 30 deletions

View File

@@ -1,17 +1,18 @@
name: setup
description: GitHub Action for Easy Semantic Versioning with GitVersion. Installs GitVersion and compute the version from git
description: GitHub Action for Easy Semantic Versioning with GitVersion. Installs the specific version of GitVersion.Tool
author: GitTools
branding:
color: gray-dark
icon: git-pull-request
inputs:
who-to-greet: # id of input
description: 'Who to greet'
versionSpec:
description: Required version in the form of 5.x or exact version like 5.0.0'
required: true
default: 'World'
outputs:
time: # id of output
description: 'The time we greeted you'
default: ''
includePrerelease:
description: Include pre-release versions when matching a version
required: false
default: false
runs:
using: node12
main: ../dist/github/setup/index.js