Skip to content

Commit 7e3eec5

Browse files
author
あで
committedJul 17, 2023
Initial release
1 parent 868dfdc commit 7e3eec5

16 files changed

+21231
-536
lines changed
 

‎.gitignore

-133
This file was deleted.

‎README.md

-33
This file was deleted.

‎action.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ inputs:
1313
description: "Comma separated list of buckets for duration histogram, with or without the brackets []"
1414
runs:
1515
using: "node16"
16-
main: "main.js"
17-
post: "post.js"
16+
main: "main/index.js"
17+
post: "post/index.js"

‎main/index.js

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
import { createRequire as __WEBPACK_EXTERNAL_createRequire } from "module";
2+
/******/ /* webpack/runtime/compat */
3+
/******/
4+
/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = new URL('.', import.meta.url).pathname.slice(import.meta.url.match(/^file:\/\/\/\w:/) ? 1 : 0, -1) + "/";
5+
/******/
6+
/************************************************************************/
7+
var __webpack_exports__ = {};
8+
9+
;// CONCATENATED MODULE: external "fs"
10+
const external_fs_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("fs");
11+
;// CONCATENATED MODULE: external "os"
12+
const external_os_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("os");
13+
;// CONCATENATED MODULE: ./src/const.ts
14+
const TMP_VAR_NAME = "AUTOMETRICS_START";
15+
16+
;// CONCATENATED MODULE: ./src/main.ts
17+
18+
19+
20+
external_fs_namespaceObject.appendFileSync(process.env.GITHUB_STATE, `${TMP_VAR_NAME}=${new Date().valueOf()}${external_os_namespaceObject.EOL}`, {
21+
encoding: "utf8",
22+
});
23+

‎main/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"type": "module"
3+
}

0 commit comments

Comments
 (0)