mirror of
https://github.com/peaceiris/actions-hugo.git
synced 2026-01-26 04:42:16 +01:00
remove: milliseconds option
This commit is contained in:
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);
|
||||
|
||||
Reference in New Issue
Block a user