mirror of
https://github.com/actions/javascript-action.git
synced 2025-04-06 23:39:39 +00:00
Fixes up issues with the template (#36)
* #27 remove console.log * #16 change author to empty * #30 maintain this repo 😄 * #8 jest update for eslint * update dependencies * #22 generate source maps * #21 use prepare instead of package * add `npm run all` to run everything
This commit is contained in:
21
dist/index.js
vendored
21
dist/index.js
vendored
@ -1,4 +1,4 @@
|
||||
module.exports =
|
||||
require('./sourcemap-register.js');module.exports =
|
||||
/******/ (function(modules, runtime) { // webpackBootstrap
|
||||
/******/ "use strict";
|
||||
/******/ // The module cache
|
||||
@ -19,7 +19,13 @@ module.exports =
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // Execute the module function
|
||||
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
||||
/******/ var threw = true;
|
||||
/******/ try {
|
||||
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
||||
/******/ threw = false;
|
||||
/******/ } finally {
|
||||
/******/ if(threw) delete installedModules[moduleId];
|
||||
/******/ }
|
||||
/******/
|
||||
/******/ // Flag the module as loaded
|
||||
/******/ module.l = true;
|
||||
@ -61,11 +67,11 @@ const wait = __webpack_require__(949);
|
||||
async function run() {
|
||||
try {
|
||||
const ms = core.getInput('milliseconds');
|
||||
console.log(`Waiting ${ms} milliseconds ...`)
|
||||
core.info(`Waiting ${ms} milliseconds ...`)
|
||||
|
||||
core.debug((new Date()).toTimeString())
|
||||
wait(parseInt(ms));
|
||||
core.debug((new Date()).toTimeString())
|
||||
core.debug((new Date()).toTimeString()) // debug is only output if you set the secret `ACTIONS_RUNNER_DEBUG` to true
|
||||
await wait(parseInt(ms));
|
||||
core.info((new Date()).toTimeString())
|
||||
|
||||
core.setOutput('time', new Date().toTimeString());
|
||||
}
|
||||
@ -361,4 +367,5 @@ module.exports = wait;
|
||||
|
||||
/***/ })
|
||||
|
||||
/******/ });
|
||||
/******/ });
|
||||
//# sourceMappingURL=index.js.map
|
1
dist/index.js.map
vendored
Normal file
1
dist/index.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
3912
dist/sourcemap-register.js
vendored
Normal file
3912
dist/sourcemap-register.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user