diff --git a/README.md b/README.md index e6ccf5b..9aad469 100644 --- a/README.md +++ b/README.md @@ -6,21 +6,37 @@ ## Features * Always uses the latest stable Wasmer build -* Optionally lock onto a specific wasmer version +* Optionally lock onto a specific wasmer version * Cross platform (Linux, Mac, and Windows) * Automatically updates environment variables (So you can immediately start using Wasmer) * Fully tested ## Usage +The easiest way to use this action is to use the latest stable version of +Wasmer. This can be done by using the following configuration: + + ```yaml - name: Setup Wasmer uses: wasmerio/setup-wasmer@v3.1 ``` +Here is an example of how to use this action to install a specific version of +Wasmer: +```yaml +- name: Setup Wasmer + uses: wasmerio/setup-wasmer@v3.1 + with: + version: '4.2.5' +``` + ## Input -version (optional) - specify the version of wasmer to install +| name | type | description | +|---------|----------|------------------------------------------| +| version | optional | specify the version of wasmer to install | + ## Output There is no output from this action