local-setup-maven/action.yml
soul-walker efea59e180
Some checks failed
Continuous Integration / GitHub Actions Test (push) Has been cancelled
实现从官网下载安装maven,并缓存
2024-03-22 14:43:47 +08:00

25 lines
579 B
YAML

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