update readme
This commit is contained in:
@@ -11,20 +11,23 @@ See [action.yml](./action.yml).
|
|||||||
## Example
|
## Example
|
||||||
|
|
||||||
Use latest version:
|
Use latest version:
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
uses: xmake-io/github-action-setup-xmake@v1
|
uses: xmake-io/github-action-setup-xmake@v1.0.2
|
||||||
```
|
```
|
||||||
|
|
||||||
Use specified version:
|
Use specified version:
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
uses: xmake-io/github-action-setup-xmake@v1
|
uses: xmake-io/github-action-setup-xmake@v1.0.2
|
||||||
with:
|
with:
|
||||||
xmake-version: '2.2.8'
|
xmake-version: '2.3.1'
|
||||||
```
|
```
|
||||||
|
|
||||||
Use semver:
|
Use semver:
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
uses: xmake-io/github-action-setup-xmake@v1
|
uses: xmake-io/github-action-setup-xmake@v1.0.2
|
||||||
with:
|
with:
|
||||||
xmake-version: '>=2.2.6 <=2.2.8'
|
xmake-version: '>=2.2.6 <=2.3.1'
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user