remove: milliseconds option
This commit is contained in:
parent
45bd07a5c0
commit
03bccf68b8
3 changed files with 6 additions and 14 deletions
12
index.js
12
index.js
|
|
@ -5,14 +5,14 @@ const wait = require('./wait');
|
|||
// most @actions toolkit packages have async methods
|
||||
async function run() {
|
||||
try {
|
||||
const ms = core.getInput('milliseconds');
|
||||
console.log(`Waiting ${ms} milliseconds ...`)
|
||||
// const ms = core.getInput('milliseconds');
|
||||
// console.log(`Waiting ${ms} milliseconds ...`)
|
||||
|
||||
core.debug((new Date()).toTimeString())
|
||||
wait(parseInt(ms));
|
||||
core.debug((new Date()).toTimeString())
|
||||
// core.debug((new Date()).toTimeString())
|
||||
// wait(parseInt(ms));
|
||||
// core.debug((new Date()).toTimeString())
|
||||
|
||||
core.setOutput('time', new Date().toTimeString());
|
||||
// core.setOutput('time', new Date().toTimeString());
|
||||
|
||||
const hugoVersion = core.getInput('hugo-version');
|
||||
console.log('Hugo version:', hugoVersion);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue