This action sets up Umka.
| OS | |
|---|---|
| Windows | ✅ |
| Linux | ✅ |
| macOS | ❌ |
None.
- 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 }}"| Name | Description | Example |
|---|---|---|
| installed | Whether umka was installed or not | true |
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@v5
- uses: fabasoad/setup-umka-action@v1
- name: Run script
run: umka ./hello-world.umRun umka ./hello-world.um
Hello World!