Re-add deprecated 'version' option

This commit is contained in:
Gil Tene 2019-11-02 20:36:37 -07:00
parent 88f51a1895
commit a2220d116e

View file

@ -16,6 +16,10 @@ inputs:
jdkFile: jdkFile:
description: 'Path to where the compressed JDK is located. The path could be in your source repository or a local path on the agent.' description: 'Path to where the compressed JDK is located. The path could be in your source repository or a local path on the agent.'
required: false required: false
# Deprecated option, do not use. Will not be supported after October 1, 2019
version:
description: 'Deprecated. Use java-version instead. Will not be supported after October 1, 2019'
deprecationMessage: 'The version property will not be supported after October 1, 2019. Use java-version instead'
runs: runs:
using: 'node12' using: 'node12'
main: 'lib/setup-java.js' main: 'lib/setup-java.js'