update doc
This commit is contained in:
@@ -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
@@ -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'
|
||||||
|
|||||||
Reference in New Issue
Block a user