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:
|
2024-03-22 15:20:39 +08:00
|
|
|
'Version Spec of the version to use. Currently only supports: [3.8.8,
|
|
|
|
3.9.6]'
|
|
|
|
default: '3.8.8'
|
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
|