switch from array to json string array
This commit is contained in:
@@ -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"]'
|
||||
|
||||
@@ -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"),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user