We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd0040e commit 2b0b7caCopy full SHA for 2b0b7ca
index.js
@@ -1,21 +1 @@
1
-const core = require('@actions/core');
2
-const wait = require('./wait');
3
-
4
5
-// most @actions toolkit packages have async methods
6
-async function run() {
7
- try {
8
- const ms = core.getInput('milliseconds');
9
- core.info(`Waiting ${ms} milliseconds ...`);
10
11
- core.debug((new Date()).toTimeString()); // debug is only output if you set the secret `ACTIONS_RUNNER_DEBUG` to true
12
- await wait(parseInt(ms));
13
- core.info((new Date()).toTimeString());
14
15
- core.setOutput('time', new Date().toTimeString());
16
- } catch (error) {
17
- core.setFailed(error.message);
18
- }
19
-}
20
21
-run();
+console.log(process.cwd());
0 commit comments