Setup darklua
ActionsAbout
v1.1.3
LatestTags
(2)A GitHub Action that downloads and installs darklua so it's available on PATH in later workflow steps.
- uses: jacklebeignet/setup-darklua@v1
with:
version: latest
cache: true
- run: darklua --version| Name | Description | Required | Default |
|---|---|---|---|
version |
Which darklua version to install. Accepts a tag like v0.19.0 or a bare version like 0.19.0. |
No | latest |
cache |
Whether to cache the downloaded darklua binary between runs. Set to false to disable caching. |
No | true |
| Name | Description |
|---|---|
version |
The exact darklua version that was installed. |
- Resolves
version. If set tolatest, it queries the GitHub API for the latest darklua release tag. - Detects the runner's OS and architecture and maps them to darklua's release asset naming (
linux,macos,windows/x86_64,aarch64). - Checks the runner's tool cache for a matching install before downloading anything.
- On a cache miss, downloads the matching zip from the darklua GitHub releases page and extracts it.
- Adds the installed binary's directory to
PATH.
Supported combinations are whatever darklua publishes release assets for. As of this writing that's Linux, macOS, and Windows on x86_64, plus Linux and macOS on aarch64.
Install dependencies:
pnpm install
Build:
pnpm run build
Setup darklua is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.