1
+ /******/ ( ( ) => { // webpackBootstrap
2
+ /******/ var __webpack_modules__ = ( {
3
+
4
+ /***/ 768 :
5
+ /***/ ( ( module ) => {
6
+
7
+ module . exports = eval ( "require" ) ( "@actions/core" ) ;
8
+
9
+
10
+ /***/ } ) ,
11
+
12
+ /***/ 438 :
13
+ /***/ ( ( module ) => {
14
+
15
+ module . exports = eval ( "require" ) ( "@actions/github" ) ;
16
+
17
+
18
+ /***/ } )
19
+
20
+ /******/ } ) ;
21
+ /************************************************************************/
22
+ /******/ // The module cache
23
+ /******/ var __webpack_module_cache__ = { } ;
24
+ /******/
25
+ /******/ // The require function
26
+ /******/ function __nccwpck_require__ ( moduleId ) {
27
+ /******/ // Check if module is in cache
28
+ /******/ var cachedModule = __webpack_module_cache__ [ moduleId ] ;
29
+ /******/ if ( cachedModule !== undefined ) {
30
+ /******/ return cachedModule . exports ;
31
+ /******/ }
32
+ /******/ // Create a new module (and put it into the cache)
33
+ /******/ var module = __webpack_module_cache__ [ moduleId ] = {
34
+ /******/ // no module.id needed
35
+ /******/ // no module.loaded needed
36
+ /******/ exports : { }
37
+ /******/ } ;
38
+ /******/
39
+ /******/ // Execute the module function
40
+ /******/ var threw = true ;
41
+ /******/ try {
42
+ /******/ __webpack_modules__ [ moduleId ] ( module , module . exports , __nccwpck_require__ ) ;
43
+ /******/ threw = false ;
44
+ /******/ } finally {
45
+ /******/ if ( threw ) delete __webpack_module_cache__ [ moduleId ] ;
46
+ /******/ }
47
+ /******/
48
+ /******/ // Return the exports of the module
49
+ /******/ return module . exports ;
50
+ /******/ }
51
+ /******/
52
+ /************************************************************************/
53
+ /******/ /* webpack/runtime/compat */
54
+ /******/
55
+ /******/ if ( typeof __nccwpck_require__ !== 'undefined' ) __nccwpck_require__ . ab = __dirname + "/" ;
56
+ /******/
57
+ /************************************************************************/
58
+ var __webpack_exports__ = { } ;
59
+ // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
60
+ ( ( ) => {
61
+ const core = __nccwpck_require__ ( 768 ) ;
62
+ const github = __nccwpck_require__ ( 438 ) ;
63
+
64
+ try {
65
+ // `who-to-greet` input defined in action metadata file
66
+ const nameToGreet = core . getInput ( 'who-to-greet' ) ;
67
+ console . log ( `Hello ${ nameToGreet } !` ) ;
68
+ const time = ( new Date ( ) ) . toTimeString ( ) ;
69
+ core . setOutput ( "time" , time ) ;
70
+ // Get the JSON webhook payload for the event that triggered the workflow
71
+ const payload = JSON . stringify ( github . context . payload , undefined , 2 )
72
+ console . log ( `The event payload: ${ payload } ` ) ;
73
+ } catch ( error ) {
74
+ core . setFailed ( error . message ) ;
75
+ }
76
+ } ) ( ) ;
77
+
78
+ module . exports = __webpack_exports__ ;
79
+ /******/ } ) ( )
80
+ ;
0 commit comments