https://github.com/fabasoad/setup-wren-action
This GitHub action installs wren scripting language interpreter.
https://github.com/fabasoad/setup-wren-action
cli github-action github-actions interpreter programming-language scripting-language wren wren-cli wren-language
Last synced: 2 months ago
JSON representation
This GitHub action installs wren scripting language interpreter.
- Host: GitHub
- URL: https://github.com/fabasoad/setup-wren-action
- Owner: fabasoad
- License: mit
- Created: 2020-11-07T08:36:56.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-11T22:03:28.000Z (2 months ago)
- Last Synced: 2025-03-11T23:19:13.497Z (2 months ago)
- Topics: cli, github-action, github-actions, interpreter, programming-language, scripting-language, wren, wren-cli, wren-language
- Language: Shell
- Homepage:
- Size: 889 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Setup Wren CLI
[](https://stand-with-ukraine.pp.ua)



This action sets up a [Wren CLI](https://wren.io/cli/).
## Supported OS
| OS | |
|---------|--------------------|
| Windows | :white_check_mark: |
| Linux | :white_check_mark: |
| macOS | :white_check_mark: |## Prerequisites
None.
## Inputs
```yaml
- uses: fabasoad/setup-wren-action@v1
with:
# (Optional) wren CLI version. Defaults to the latest version.
version: "0.4.0"
# (Optional) If "false" skips installation if wren CLI is already installed.
# If "true" installs wren CLI in any case. Defaults to "false".
force: "false"
# (Optional) GitHub token that is used to send requests to GitHub API such
# as downloading asset. Defaults to the token provided by GitHub Actions
# environment.
github-token: "${{ github.token }}"
```## Outputs
| Name | Description | Example |
|-----------|---------------------------------------|---------|
| installed | Whether wren CLI was installed or not | `true` |## Example usage
Let's try to run `hello-world.wren` file with the following content:
```java
System.print("Hello World!")
```### Workflow configuration
```yaml
name: Setup Wren CLIon: push
jobs:
setup:
name: Setup
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: fabasoad/setup-wren-action@v1
- name: Run script
run: wren_cli ./hello-world.wren
```### Result
```shell
Run wren_cli ./hello-world.wren
Hello World!
```