Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zhutmost/setup-mill
Action to Setup Mill for Scala Projects
https://github.com/zhutmost/setup-mill
Last synced: 6 days ago
JSON representation
Action to Setup Mill for Scala Projects
- Host: GitHub
- URL: https://github.com/zhutmost/setup-mill
- Owner: zhutmost
- License: mit
- Created: 2024-06-17T11:14:36.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-06-17T13:32:11.000Z (5 months ago)
- Last Synced: 2024-06-18T15:06:13.722Z (5 months ago)
- Language: JavaScript
- Size: 801 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GitHub Action to Setup Mill for Scala Projects
![Build & Test](https://github.com/zhutmost/setup-mill/actions/workflows/ci.yml/badge.svg)
Use this action to make [mill](http://www.lihaoyi.com/mill/) available in a job.
## Usage
```yaml
- 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](https://github.com/jodersky/setup-mill/issues/7) in [jodersky/setup-mill](https://github.com/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](https://github.com/jodersky/setup-mill). Thanks for the original author's work.