Skip to content
This repository was archived by the owner on Sep 20, 2026. It is now read-only.
Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Latest commit

 

History

24 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Action to Setup Mill for Scala Projects

Note

For new projects, follow Mill's recommended setup: commit the official ./mill bootstrap script (and mill.bat for Windows) to your repository, then run ./mill directly in CI. The script selects the project's Mill version and downloads it when needed. Update the script with ./mill updateMillScripts <version>.

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.

About

Action to Setup Mill for Scala Projects

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages