zhutmost / setup-mill

Action to Setup Mill for Scala Projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:JavaScript 100.0%