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