GitHub Action that installs the MX Script (mx) CLI on a runner.
Created by Jassim Alkharafi. MIT-licensed.
- uses: jlkdevelop/setup-mx@v1
- run: mx testPin a specific version:
- uses: jlkdevelop/setup-mx@v1
with:
version: v0.14.0version accepts latest (default), v0.14.0, or 0.14.0.
| OS | x64 | arm64 |
|---|---|---|
ubuntu-* |
✅ | ✅ |
macos-* |
✅ | ✅ |
windows-* |
✅ | ✅ |
The action downloads the matching prebuilt binary from the mxscript releases page and adds it to $PATH.
| Name | Description |
|---|---|
version |
The mx version that was installed. |
name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- uses: jlkdevelop/setup-mx@v1
- run: mx testMIT © Jassim Alkharafi