fabasoad / setup-umka-action

This GitHub action installs Umka programming language.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setup Umka

Stand With Ukraine GitHub release functional-tests security linting

This action sets up a Umka.

Prerequisites

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

Windows and Linux are the only supported OS at this moment

Inputs

Name Required Description Default Possible values
version No Umka version that can be found here 1.3 1.1, 1.2, etc.

Example usage

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

fn main() {
    printf("Hello World!")
}

Workflow configuration

name: Setup Umka

on: 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

Run umka ./hello-world.um
Hello World!

About

This GitHub action installs Umka programming language.

License:MIT License