setup-wren-action

所属分类:编译器/解释器
开发工具:Wren
文件大小:0KB
下载次数:0
上传日期:2023-10-01 05:32:01
上 传 者sh-1993
说明:  此GitHub操作安装鹪鹩脚本语言解释器。,
(This GitHub action installs wren scripting language interpreter.,)

文件列表:
.markdownlint.yml (75, 2024-01-06)
.pre-commit-config.yaml (1327, 2024-01-06)
.yamllint.yml (117, 2024-01-06)
CONTRIBUTING.md (2043, 2024-01-06)
LICENSE (1081, 2024-01-06)
action.yml (2957, 2024-01-06)
hello-world.wren (29, 2024-01-06)

# Setup Wren CLI [![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://stand-with-ukraine.pp.ua) ![GitHub release](https://img.shields.io/github/v/release/fabasoad/setup-wren-action?include_prereleases) ![Functional Tests](https://github.com/fabasoad/setup-wren-action/workflows/Functional%20Tests/badge.svg) ![pre-commit](https://github.com/fabasoad/setup-wren-action/actions/workflows/pre-commit.yml/badge.svg) This action sets up a [Wren CLI](https://wren.io/cli/). ## Prerequisites The following tools have to be installed for successful work of this GitHub action: - Linux, macOS: [wget](https://www.gnu.org/software/wget/), [unzip](https://linux.die.net/man/1/unzip). - Windows: [pwsh](https://github.com/PowerShell/PowerShell) ## Inputs | Name | Required | Description | Default | Possible values | |---------|----------|---------------------------------------------------------------------------------------|---------|------------------| | version | No | wren version that can be found [here](https://github.com/wren-lang/wren-cli/releases) | `0.4.0` | `0.3.0`, `0.4.0` | ## 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 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 ```shell Run wren_cli ./hello-world.wren Hello World! ```

近期下载者

相关文件


收藏者