Setup Umka
This action sets up a Umka.
Prerequisites
The following tools have to be installed for successful work of this GitHub action:
unzip
.
Windows
andLinux
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!