Skip to content

Commit a68b5a4

Browse files
authored
Merge pull request #26 from actions/parsing-number
Parse correct timeout
2 parents 479e822 + 171a8a0 commit a68b5a4

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

dist/index.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pre/index.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pre/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/deployment.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ class Deployment {
8181
this.deploymentInfo["status_url"] :
8282
`https://api.github.com/repos/${this.repositoryNwo}/pages/deployment/status/${process.env['GITHUB_SHA']}`
8383
core.setOutput('page_url', this.deploymentInfo != null ? this.deploymentInfo["page_url"] : "")
84-
const timeout = core.getInput('timeout')
84+
const timeout = Number(core.getInput('timeout'))
8585
const reportingInterval = Number(core.getInput('reporting_interval'))
86-
const maxErrorCount = core.getInput('error_count')
86+
const maxErrorCount = Number(core.getInput('error_count'))
8787
var startTime = Date.now()
8888
var errorCount = 0
8989

0 commit comments

Comments
 (0)