Merge branch 'main' of https://github.com/youngday/xmake-example #4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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: 'node20' | |
| main: 'dist/index.js' | |
| post: 'dist/index.js' |