Skip to content

Commit 90ea96e

Browse files
committed
add support for mise.toml version file type
1 parent 3580539 commit 90ea96e

File tree

7 files changed

+4423
-89
lines changed

7 files changed

+4423
-89
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
node_modules/**
22
test/.tool-versions
3+
test/mise.toml

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,16 +141,18 @@ e.g. `${{steps.setup-beam.outputs.erlang-version}}`
141141

142142
### Version file
143143

144+
A version file type is specified via input `version-file-type` (defaults to `.tool-versions`).
144145
A version file is specified via input `version-file` (e.g.`.tool-versions`). This
145146
allows not having to use YML input for versions, though the action does check (and
146147
will exit with error) if both inputs are set.
147148

148149
**Note**: if you're using a version file, option `version-type` is checked to be `strict`,
149150
and will make the action exit with error otherwise.
150151

151-
The following version file formats are supported:
152+
The following are supported `version-file-type` inputs:
152153

153154
- `.tool-versions`, as specified by [asdf: Configuration](https://asdf-vm.com/manage/configuration.html)
155+
- `mise.toml`, as specified by [mise-en-place](https://mise.jdx.dev/configuration.html#tools-dev-tools)
154156

155157
Supported version elements are the same as the ones defined for the YML portion of the action,
156158
with the following correspondence.

0 commit comments

Comments
 (0)