update doc

This commit is contained in:
Opportunity
2020-05-23 22:45:42 +08:00
Unverified
parent fb01b4e3c8
commit dc056a1d20
2 changed files with 9 additions and 1 deletions
+8
View File
@@ -34,6 +34,14 @@ with:
xmake-version: branch@master xmake-version: branch@master
``` ```
Use specified pr:
```yml
uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: pr@1
```
Use semver: Use semver:
```yml ```yml
+1 -1
View File
@@ -9,7 +9,7 @@ inputs:
xmake-version: xmake-version:
required: true required: true
default: latest default: latest
description: The version to use. Should be a semver range or 'latest' description: The version to use. Should be a semver range or 'latest'. Or use pr@{pr_number} to select a pr, use branch@{branch_name} to select a branch
runs: runs:
using: 'node12' using: 'node12'