Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese authored Feb 9, 2024
1 parent c9845fb commit f971c72
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,11 @@ function sleep(ms) {

async function main() {
try {
let serverAddress = core.getInput("server_address")
let serverPort = core.getInput("server_port")
let secure = core.getInput("secure")
let username = core.getInput("username")
let password = core.getInput("password")

if (!secure) {
secure = serverPort === "465" ? "true" : "false"
}
let secure = "true"
let username = ""
let password = ""
let serverPort = "465"
let serverAddress = ""

const connectionUrl = core.getInput("connection_url")
if (connectionUrl) {
Expand Down

0 comments on commit f971c72

Please sign in to comment.