mirror of
https://github.com/CompeyDev/setup-rokit.git
synced 2024-12-12 04:30:37 +00:00
fix: discovery with more than one compatible manifest
This commit is contained in:
parent
db64ed031f
commit
ca252141e0
2 changed files with 7 additions and 1 deletions
|
@ -46,7 +46,7 @@ runs:
|
|||
- name: Discover manifest file
|
||||
id: manifest
|
||||
run: |
|
||||
manifest_path=$(find ${{ inputs.path }} -maxdepth 1 -name "rokit.toml" -o -name "aftman.toml" -o -name "foreman.toml")
|
||||
manifest_path=$(find ${{ inputs.path }} -maxdepth 1 -name "rokit.toml" -o -name "aftman.toml" -o -name "foreman.toml" | head -n 1)
|
||||
echo "::debug::Discovered manifest path: $manifest_path"
|
||||
echo "path=$manifest_path" >> $GITHUB_OUTPUT
|
||||
shell: bash
|
||||
|
|
6
rokit.toml
Normal file
6
rokit.toml
Normal file
|
@ -0,0 +1,6 @@
|
|||
[tools]
|
||||
luau-lsp = "JohnnyMorganz/luau-lsp@1.31.0"
|
||||
lune = "CompeyDev/lune@0.8.7"
|
||||
# moonwave-extractor = "evaera/moonwave@1.1.3"
|
||||
selene = "Kampfkarren/selene@0.27.1"
|
||||
stylua = "JohnnyMorganz/StyLua@0.20.0"
|
Loading…
Reference in a new issue