6d13b5ae0d
# Conflicts: # dist/main.cjs # dist/post.cjs # package-lock.json # package.json
19 lines
361 B
JavaScript
19 lines
361 B
JavaScript
// @ts-check
|
|
|
|
import * as core from "@actions/core";
|
|
|
|
import { post } from "./lib/post.js";
|
|
import request, { ensureNativeProxySupport } from "./lib/request.js";
|
|
|
|
async function run() {
|
|
ensureNativeProxySupport();
|
|
|
|
return post(core, request);
|
|
}
|
|
|
|
run().catch((error) => {
|
|
/* c8 ignore next 3 */
|
|
console.error(error);
|
|
core.setFailed(error.message);
|
|
});
|