This action sets up Umka.
OS | |
---|---|
Windows | ✅ |
Linux | ✅ |
macOS | ❌ |
The following tools have to be available on a runner prior using this GitHub action:
unzip
Name | Required | Description | Default | Possible values |
---|---|---|---|---|
version | No | Umka version that can be found here | 1.5 |
1.4 , 1.4.1 , etc. |
Let's try to run hello-world.um
file with the following content:
fn main() {
printf("Hello World!")
}
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
Run umka ./hello-world.um
Hello World!