File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ For more advanced usage, see the following examples:
3535| ` version` | WASI SDK version to install (e.g., `25`) | No | `latest` |
3636| `install-path` | Directory to install WASI SDK to | No | `$RUNNER_TOOL_CACHE/wasi-sdk` |
3737| `add-to-path` | Add WASI SDK `bin` directory to the `PATH` | No | `true` |
38+ | `github-token` | GitHub token for API requests | No | `${{ github.token }}` |
3839
3940Note that passing `latest` as the `version` will attempt to retrieve the latest [release
4041tag][releases]. See GitHub's [variables reference] for a description of `RUNNER_TOOL_CACHE`; other
Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ inputs:
1414 description : ' Add WASI SDK bin directory to PATH'
1515 required : false
1616 default : ' true'
17+ github-token :
18+ description : ' GitHub token for API requests (avoids rate limiting)'
19+ required : false
20+ default : ${{ github.token }}
1721
1822outputs :
1923 wasi-sdk-path :
3539 - name : Install WASI SDK
3640 id : install
3741 shell : bash
42+ env :
43+ GITHUB_TOKEN : ${{ inputs.github-token }}
3844 run : |
3945 $GITHUB_ACTION_PATH/install.py -v \
4046 --version '${{ inputs.version }}' \
You can’t perform that action at this time.
0 commit comments