From 4961ce01ab382465759b20ca2af5cc2147e58534 Mon Sep 17 00:00:00 2001 From: drkameleon Date: Tue, 17 Feb 2026 13:17:47 +0100 Subject: [PATCH 1/3] added extra `from` parameter --- action.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/action.yml b/action.yml index 66f521d..922a311 100644 --- a/action.yml +++ b/action.yml @@ -18,6 +18,11 @@ inputs: The architecture to build for. (one of: 'amd64', 'arm64', 'native') default: 'native' + from: + description: >- + Arturo source (stable, latest, master). + stable = latest official release, latest = nightly, master = compile from source. + default: 'stable' entry: description: >- Entry file for the executable. From 798221421fecd7e7cc117c1f6b95e8dd400e71a2 Mon Sep 17 00:00:00 2001 From: drkameleon Date: Tue, 17 Feb 2026 13:18:16 +0100 Subject: [PATCH 2/3] update Install Arturo step --- action.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/action.yml b/action.yml index 922a311..b1634c4 100644 --- a/action.yml +++ b/action.yml @@ -90,6 +90,8 @@ runs: token: ${{ inputs.token }} os: ${{ env.os }} arch: ${{ env.arch }} + do: ${{ inputs.from == 'master' && 'compile' || 'fetch' }} + from: ${{ inputs.from == 'master' && 'stable' || inputs.from }} - name: Install Nim (Linux) if: env.os == 'linux' From 1416c2d515218a0b77348e17c034bec26e6ad375 Mon Sep 17 00:00:00 2001 From: drkameleon Date: Tue, 17 Feb 2026 13:21:40 +0100 Subject: [PATCH 3/3] updated readme --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 64cd538..2a3e2f7 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,7 @@ Based on the runner and the specified OS/architecture, the action will compile a |--------|-------------| | os | target OS (linux, windows, macos, freebsd) - defaults to auto-detect from runner | | arch | target architecture (amd64, arm64, native) - defaults to `'native'` (auto-detect from runner) | +| from | Arturo source to use: `'stable'` (official release), `'latest'` (nightly), `'master'` (compile from source) - defaults to `'stable'` | | target | change the name of the final binary (default: `'auto'` = use the same name as the entry script) | | version | set version number, to be included in the archive names - in the case of releases, this will be extracted automatically from the release tag (default: `''`) | | release | prepare for release: creates a `.zip` archive with the binary (default: `'false'`) |