Skip to content

zhutmost/setup-mill

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

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.3 # 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

License

Stars

Watchers

Forks

Packages

No packages published