/setup-wren-action

This GitHub action installs wren scripting language interpreter.

Primary LanguageWrenMIT LicenseMIT

Setup Wren CLI

Stand With Ukraine GitHub release functional-tests security linting

This action sets up a Wren CLI.

Prerequisites

The following tools have to be installed for successful work of this GitHub action:

Inputs

Name Required Description Default Possible values
version No wren version that can be found here 0.4.0 0.3.0, 0.4.0

Example usage

Let's try to run hello-world.wren file with the following content:

System.print("Hello World!")

Workflow configuration

name: Setup Wren CLI

on: push

jobs:
  setup:
    name: Setup
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@main
      - uses: fabasoad/setup-wren-action@main
      - name: Run script
        run: wren_cli ./hello-world.wren

Result

Run wren_cli ./hello-world.wren
Hello World!