42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
name: setup xmake
|
|
description: Set up a xmake environment and add it to the PATH
|
|
author: OpportunityLiu
|
|
branding:
|
|
icon: play
|
|
color: green
|
|
|
|
inputs:
|
|
xmake-version:
|
|
required: true
|
|
default: latest
|
|
description: The version to use. Should be a semver range or 'latest'. Or use [{repository}#]branch@{branch_name} to select a branch.
|
|
actions-cache-folder:
|
|
description: 'Directory to cache xmake in. This folder will go under $GITHUB_HOME (I.e. build dir) and be cached using @actions/cache.'
|
|
default: ''
|
|
actions-cache-key:
|
|
description: The actions cache key.
|
|
default: ''
|
|
package-cache:
|
|
description: Enable package cache.
|
|
default: false
|
|
package-cache-key:
|
|
description: The packages cache key.
|
|
default: ''
|
|
project-path:
|
|
description: The project root path.
|
|
default: ''
|
|
build-cache:
|
|
description: Enable build cache.
|
|
default: false
|
|
build-cache-path:
|
|
description: The build cache path.
|
|
default: ''
|
|
build-cache-key:
|
|
description: The build cache key.
|
|
default: ''
|
|
|
|
runs:
|
|
using: 'node24'
|
|
main: 'dist/index.js'
|
|
post: 'dist/index.js'
|