Skip to content

This GitHub action installs Umka programming language.

License

Notifications You must be signed in to change notification settings

fabasoad/setup-umka-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Setup Umka

Stand With Ukraine GitHub release functional-tests security linting

This action sets up Umka.

Supported OS

OS
Windows
Linux
macOS

Prerequisites

None.

Inputs

- uses: fabasoad/setup-umka-action@v1
  with:
    # (Optional) Umka version. Defaults to the latest version.
    version: "1.5.4"
    # (Optional) If "false" skips installation if umka is already installed. If
    # "true" installs umka in any case. Defaults to "false".
    force: "false"
    # (Optional) GitHub token that is used to send requests to GitHub API such
    # as downloading asset. Defaults to the token provided by GitHub Actions
    # environment.
    github-token: "${{ github.token }}"

Outputs

Name Description Example
installed Whether umka was installed or not true

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@v5
      - uses: fabasoad/setup-umka-action@v1
      - name: Run script
        run: umka ./hello-world.um

Result

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

Contributions

Alt