mirror of
https://github.com/joelwmale/webhook-action.git
synced 2024-08-25 08:08:00 +00:00
feat: v2.4.1 build
This commit is contained in:
parent
70cba82e0c
commit
6cebc9d7dc
3
dist/index.js
vendored
3
dist/index.js
vendored
@ -56,9 +56,6 @@ const http_1 = __nccwpck_require__(4319);
|
|||||||
const github_1 = __nccwpck_require__(5438);
|
const github_1 = __nccwpck_require__(5438);
|
||||||
function run() {
|
function run() {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
if (github_1.context.job === 'post') {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
const url = core.getInput('url')
|
const url = core.getInput('url')
|
||||||
? core.getInput('url')
|
? core.getInput('url')
|
||||||
: process.env.WEBHOOK_URL
|
: process.env.WEBHOOK_URL
|
||||||
|
3
dist/main.js
vendored
3
dist/main.js
vendored
@ -14,9 +14,6 @@ const http_1 = require("./http");
|
|||||||
const github_1 = require("@actions/github");
|
const github_1 = require("@actions/github");
|
||||||
function run() {
|
function run() {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
if (github_1.context.job === 'post') {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
const url = core.getInput('url')
|
const url = core.getInput('url')
|
||||||
? core.getInput('url')
|
? core.getInput('url')
|
||||||
: process.env.WEBHOOK_URL
|
: process.env.WEBHOOK_URL
|
||||||
|
2
dist/main.js.map
vendored
2
dist/main.js.map
vendored
@ -1 +1 @@
|
|||||||
{"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,sCAAqC;AACrC,iCAA2B;AAC3B,4CAAuC;AAEvC,SAAe,GAAG;;QAEhB,IAAI,gBAAO,CAAC,GAAG,KAAK,MAAM,EAAE,CAAC;YAC3B,OAAM;QACR,CAAC;QAED,MAAM,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC;YAC9B,CAA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