Skip to content

Commit

Permalink
Merge pull request #26 from actions/parsing-number
Browse files Browse the repository at this point in the history
Parse correct timeout
  • Loading branch information
YiMysty authored Mar 28, 2022
2 parents 479e822 + 171a8a0 commit a68b5a4
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pre/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pre/index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/deployment.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ class Deployment {
this.deploymentInfo["status_url"] :
`https://api.github.com/repos/${this.repositoryNwo}/pages/deployment/status/${process.env['GITHUB_SHA']}`
core.setOutput('page_url', this.deploymentInfo != null ? this.deploymentInfo["page_url"] : "")
const timeout = core.getInput('timeout')
const timeout = Number(core.getInput('timeout'))
const reportingInterval = Number(core.getInput('reporting_interval'))
const maxErrorCount = core.getInput('error_count')
const maxErrorCount = Number(core.getInput('error_count'))
var startTime = Date.now()
var errorCount = 0

Expand Down

0 comments on commit a68b5a4

Please sign in to comment.