Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fabasoad/setup-umka-action
This GitHub action installs Umka programming language.
https://github.com/fabasoad/setup-umka-action
cli github-action github-actions interpreter programming-language scripting-language umka
Last synced: 2 months ago
JSON representation
This GitHub action installs Umka programming language.
- Host: GitHub
- URL: https://github.com/fabasoad/setup-umka-action
- Owner: fabasoad
- License: mit
- Created: 2020-11-18T12:17:59.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-03T14:12:51.000Z (3 months ago)
- Last Synced: 2024-10-15T17:23:35.589Z (3 months ago)
- Topics: cli, github-action, github-actions, interpreter, programming-language, scripting-language, umka
- Homepage:
- Size: 749 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 Umka
[![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-umka-action?include_prereleases)
![functional-tests](https://github.com/fabasoad/setup-umka-action/actions/workflows/functional-tests.yml/badge.svg)
![security](https://github.com/fabasoad/setup-umka-action/actions/workflows/security.yml/badge.svg)
![linting](https://github.com/fabasoad/setup-umka-action/actions/workflows/linting.yml/badge.svg)This action sets up [Umka](https://github.com/vtereshkov/umka-lang).
## Supported OS
| OS | |
|---------|--------------------|
| Windows | :white_check_mark: |
| Linux | :white_check_mark: |
| macOS | :x: |## Prerequisites
The following tools have to be available on a runner prior using this GitHub
action:- `unzip`
## Inputs
| Name | Required | Description | Default | Possible values |
|---------|----------|-----------------------------------------------------------------------------------------|---------|----------------------|
| version | No | Umka version that can be found [here](https://github.com/vtereshkov/umka-lang/releases) | `1.5` | `1.4`, `1.4.1`, etc. |## Example usage
Let's try to run `hello-world.um` file with the following content:
```rust
fn main() {
printf("Hello World!")
}
```### Workflow configuration
```yaml
name: Setup Umkaon: push
jobs:
setup:
name: Setup
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: fabasoad/setup-umka-action@main
- name: Run script
run: umka ./hello-world.um
```### Result
```text
Run umka ./hello-world.um
Hello World!
```