Skip to content

Commit 15d297d

Browse files
committed
artifact addition package name
1 parent 9e72c6c commit 15d297d

File tree

2 files changed

+63
-4
lines changed

2 files changed

+63
-4
lines changed

browserstack-report-action/dist/index.js

Lines changed: 62 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110260,15 +110260,19 @@ module.exports = ReportService;
110260110260
/***/ }),
110261110261

110262110262
/***/ 52578:
110263-
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
110263+
/***/ ((module, __webpack_exports__, __nccwpck_require__) => {
110264110264

110265110265
"use strict";
110266+
__nccwpck_require__.r(__webpack_exports__);
110267+
/* harmony import */ var _actions_artifact__WEBPACK_IMPORTED_MODULE_0__ = __nccwpck_require__(76846);
110268+
/* harmony import */ var _actions_artifact__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__nccwpck_require__.n(_actions_artifact__WEBPACK_IMPORTED_MODULE_0__);
110269+
/* module decorator */ module = __nccwpck_require__.hmd(module);
110266110270

110267110271

110268110272
const fs = __nccwpck_require__(79896);
110269110273
const path = __nccwpck_require__(16928);
110270110274
const core = __nccwpck_require__(37484);
110271-
const artifact = __nccwpck_require__(76846);
110275+
110272110276

110273110277
class ArtifactManager {
110274110278
static async saveReportAsArtifact(report, buildName) {
@@ -110295,7 +110299,7 @@ class ArtifactManager {
110295110299
// const artifactClient = artifact.createArtifactClient();
110296110300
const artifactName = `browserstack-report-${sanitizedBuildName}`;
110297110301

110298-
const uploadResult = await artifact.uploadArtifact(
110302+
const uploadResult = await _actions_artifact__WEBPACK_IMPORTED_MODULE_0___default().uploadArtifact(
110299110303
artifactName,
110300110304
[filePath],
110301110305
artifactDir,
@@ -135518,6 +135522,61 @@ module.exports = /*#__PURE__*/JSON.parse('[[[0,44],"disallowed_STD3_valid"],[[45
135518135522
/******/ }
135519135523
/******/
135520135524
/************************************************************************/
135525+
/******/ /* webpack/runtime/compat get default export */
135526+
/******/ (() => {
135527+
/******/ // getDefaultExport function for compatibility with non-harmony modules
135528+
/******/ __nccwpck_require__.n = (module) => {
135529+
/******/ var getter = module && module.__esModule ?
135530+
/******/ () => (module['default']) :
135531+
/******/ () => (module);
135532+
/******/ __nccwpck_require__.d(getter, { a: getter });
135533+
/******/ return getter;
135534+
/******/ };
135535+
/******/ })();
135536+
/******/
135537+
/******/ /* webpack/runtime/define property getters */
135538+
/******/ (() => {
135539+
/******/ // define getter functions for harmony exports
135540+
/******/ __nccwpck_require__.d = (exports, definition) => {
135541+
/******/ for(var key in definition) {
135542+
/******/ if(__nccwpck_require__.o(definition, key) && !__nccwpck_require__.o(exports, key)) {
135543+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
135544+
/******/ }
135545+
/******/ }
135546+
/******/ };
135547+
/******/ })();
135548+
/******/
135549+
/******/ /* webpack/runtime/harmony module decorator */
135550+
/******/ (() => {
135551+
/******/ __nccwpck_require__.hmd = (module) => {
135552+
/******/ module = Object.create(module);
135553+
/******/ if (!module.children) module.children = [];
135554+
/******/ Object.defineProperty(module, 'exports', {
135555+
/******/ enumerable: true,
135556+
/******/ set: () => {
135557+
/******/ throw new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id);
135558+
/******/ }
135559+
/******/ });
135560+
/******/ return module;
135561+
/******/ };
135562+
/******/ })();
135563+
/******/
135564+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
135565+
/******/ (() => {
135566+
/******/ __nccwpck_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
135567+
/******/ })();
135568+
/******/
135569+
/******/ /* webpack/runtime/make namespace object */
135570+
/******/ (() => {
135571+
/******/ // define __esModule on exports
135572+
/******/ __nccwpck_require__.r = (exports) => {
135573+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
135574+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
135575+
/******/ }
135576+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
135577+
/******/ };
135578+
/******/ })();
135579+
/******/
135521135580
/******/ /* webpack/runtime/node module decorator */
135522135581
/******/ (() => {
135523135582
/******/ __nccwpck_require__.nmd = (module) => {

browserstack-report-action/src/utils/ArtifactManager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
const fs = require('fs');
44
const path = require('path');
55
const core = require('@actions/core');
6-
const artifact = require('@actions/artifact');
6+
import artifact from '@actions/artifact'
77

88
class ArtifactManager {
99
static async saveReportAsArtifact(report, buildName) {

0 commit comments

Comments
 (0)