2024-03-22 14:43:47 +08:00
|
|
|
name: 'Setup Maven'
|
|
|
|
description: 'Install a specific version of Apache Maven and add it to the PATH'
|
|
|
|
author: 'walker-sheng'
|
2024-03-22 14:26:51 +08:00
|
|
|
|
|
|
|
# Add your action's branding here. This will appear on the GitHub Marketplace.
|
|
|
|
branding:
|
|
|
|
icon: 'heart'
|
|
|
|
color: 'red'
|
|
|
|
|
|
|
|
# Define your inputs here.
|
|
|
|
inputs:
|
2024-03-22 14:43:47 +08:00
|
|
|
maven-version:
|
|
|
|
description:
|
|
|
|
'Version Spec of the version to use. Examples: 10.x, 10.15.1, >=10.15.0'
|
|
|
|
default: '3.8.2'
|
2024-03-22 14:26:51 +08:00
|
|
|
|
|
|
|
# Define your outputs here.
|
|
|
|
outputs:
|
2024-03-22 14:43:47 +08:00
|
|
|
cache-hit:
|
|
|
|
description: 'A boolean value to indicate if a cache was hit.'
|
2024-03-22 14:26:51 +08:00
|
|
|
|
|
|
|
runs:
|
|
|
|
using: node20
|
|
|
|
main: dist/index.js
|