From ca252141e013e2c03170c84fcd13debe3ff7544f Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Tue, 13 Aug 2024 20:40:54 +0530 Subject: [PATCH] fix: discovery with more than one compatible manifest --- action.yml | 2 +- rokit.toml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 rokit.toml diff --git a/action.yml b/action.yml index 0a56088..556622d 100644 --- a/action.yml +++ b/action.yml @@ -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 diff --git a/rokit.toml b/rokit.toml new file mode 100644 index 0000000..574a423 --- /dev/null +++ b/rokit.toml @@ -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"