Skip to content

Setup Mill

Actions
Setup a Mill environment for Scala projects
v1.3.0
Latest
Star (3)

GitHub Action to Setup Mill for Scala Projects

Build & Test

Use this action to make mill available in a job.

Usage

- uses: zhutmost/setup-mill@main
  with:
    mill-version: 0.12.14 # Specify the default Mill version
- name: Compile
  run: mill project.compile
- name: Test
  run: mill project.test

Difference from the existing setup-mill action

This repository was created to fix an issue in jodersky/setup-mill, where the action did not support specifying the Mill version using .mill-version.

In this repository, this action will download the Mill wrapper script (rather than the binary) and make it available in the PATH. It will download the binary with proper version when needed. That is to say, if you specify a Mill version via REPO/.mill-version/REPO/.config/mill-version, the action will download the specified version.

Acknowledgement

This repository is standing on the shoulder of giants.

This repository is forked from jodersky/setup-mill. Thanks for the original author's work.

Setup Mill 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.

About

Setup a Mill environment for Scala projects
v1.3.0
Latest

Setup Mill 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.