switch from array to json string array

This commit is contained in:
Lukas Scheuerle (Plagiatus)
2021-03-16 00:44:24 +01:00
parent 44dc459b7f
commit 497b2b5ea9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -17,4 +17,4 @@ jobs:
server: ${{ secrets.rcon_server }}
port: ${{ secrets.rcon_port }}
password: ${{ secrets.rcon_password }}
commands: ["say hi", "reload"]
commands: '["say hi", "reload"]'
+1 -1
View File
@@ -14,7 +14,7 @@ async function run() {
server: core.getInput("server"),
port: core.getInput("port"),
password: core.getInput("password"),
commands: core.getInput("commands"),
commands: JSON.parse(core.getInput("commands")),
sendPushInfo: core.getInput("send-push-info"),
pushInfoRecipient: core.getInput("push-info-recipient"),
}