https://github.com/fabasoad/setup-lolcode-action
This GitHub action installs LOLCODE programming language interpreter.
https://github.com/fabasoad/setup-lolcode-action
cli github-action github-actions interpreter lolcode programming-language
Last synced: 22 days ago
JSON representation
This GitHub action installs LOLCODE programming language interpreter.
- Host: GitHub
- URL: https://github.com/fabasoad/setup-lolcode-action
- Owner: fabasoad
- License: mit
- Created: 2020-11-25T14:04:06.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-04-13T16:59:31.000Z (almost 2 years ago)
- Last Synced: 2024-05-02T05:07:19.847Z (over 1 year ago)
- Topics: cli, github-action, github-actions, interpreter, lolcode, programming-language
- Homepage:
- Size: 1020 KB
- Stars: 1
- Watchers: 2
- 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 LCI - LOLCODE interpreter
[](https://stand-with-ukraine.pp.ua)




This action sets up a [LOLCODE](http://www.lolcode.org/) interpreter called [LCI](https://github.com/justinmeza/lci).
## Unsupported LCI versions
| OS | Version |
|---------|-----------------------------------------------|
| Windows | All |
| Linux | 0.9.1 |
| macOS | 0.9.1, 0.10.1, 0.10.2, 0.10.3, 0.10.4, 0.11.1 |
## Prerequisites
The following tools have to be installed for successful work of this GitHub action:
[cmake](https://cmake.org), [make](https://www.gnu.org/software/make/manual/make.html).
## Inputs
```yaml
- uses: fabasoad/setup-lolcode-action@v1
with:
# (Optional) LCI version. Defaults to the latest version.
version: "0.11.2"
# (Optional) If "true" it installs LCI even if it is already installed on a
# runner. Otherwise, skips installation.
force: "false"
# (Optional) GitHub token that is used to send requests to GitHub API such
# as getting latest release. Defaults to the token provided by GitHub Actions
# environment.
github-token: "${{ github.token }}"
```
## Outputs
| Name | Description | Example |
|-----------|----------------------------------|---------|
| installed | Whether LCI was installed or not | `true` |
## Example usage
Let's try to run `hello-world.lc` file with the following content:
```cobol
HAI 1.3
CAN HAS STDIO?
VISIBLE "Hello World!"
KTHXBYE
```
### Workflow configuration
```yaml
name: Setup LCI
on: push
jobs:
setup:
name: Setup
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: fabasoad/setup-lolcode-action@v1
- name: Run script
run: lci ./hello-world.lc
```
### Result
```text
Run lci ./hello-world.lc
Hello World!
```
## Contributions
