Skip to content

Commit 1f6e951

Browse files
committed
Merge branch 'main' into switcher-check
2 parents 916d698 + b80cd5a commit 1f6e951

File tree

1,076 files changed

+44572
-20690
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,076 files changed

+44572
-20690
lines changed

.github/actions/composite/buildAndroidE2EAPK/action.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ inputs:
55
ARTIFACT_NAME:
66
description: The name of the workflow artifact where the APK should be uploaded
77
required: true
8+
ARTIFACT_RETENTION_DAYS:
9+
description: The number of days to retain the artifact
10+
required: false
11+
# Thats github default:
12+
default: "90"
813
PACKAGE_SCRIPT_NAME:
914
description: The name of the npm script to run to build the APK
1015
required: true
@@ -69,7 +74,8 @@ runs:
6974
shell: bash
7075

7176
- name: Upload APK
72-
uses: actions/upload-artifact@65d862660abb392b8c4a3d1195a2108db131dd05
77+
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3
7378
with:
7479
name: ${{ inputs.ARTIFACT_NAME }}
7580
path: ${{ inputs.APP_OUTPUT_PATH }}
81+
retention-days: ${{ inputs.ARTIFACT_RETENTION_DAYS }}

.github/actions/javascript/authorChecklist/index.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -557,6 +557,14 @@ class GithubUtils {
557557
.then((events) => _.filter(events, (event) => event.event === 'closed'))
558558
.then((closedEvents) => lodashGet(_.last(closedEvents), 'actor.login', ''));
559559
}
560+
561+
static getArtifactByName(artefactName) {
562+
return this.paginate(this.octokit.actions.listArtifactsForRepo, {
563+
owner: CONST.GITHUB_OWNER,
564+
repo: CONST.APP_REPO,
565+
per_page: 100,
566+
}).then((artifacts) => _.findWhere(artifacts, {name: artefactName}));
567+
}
560568
}
561569

562570
module.exports = GithubUtils;

.github/actions/javascript/awaitStagingDeploys/index.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -669,6 +669,14 @@ class GithubUtils {
669669
.then((events) => _.filter(events, (event) => event.event === 'closed'))
670670
.then((closedEvents) => lodashGet(_.last(closedEvents), 'actor.login', ''));
671671
}
672+
673+
static getArtifactByName(artefactName) {
674+
return this.paginate(this.octokit.actions.listArtifactsForRepo, {
675+
owner: CONST.GITHUB_OWNER,
676+
repo: CONST.APP_REPO,
677+
per_page: 100,
678+
}).then((artifacts) => _.findWhere(artifacts, {name: artefactName}));
679+
}
672680
}
673681

674682
module.exports = GithubUtils;

.github/actions/javascript/bumpVersion/index.js

Lines changed: 44 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,20 @@ exports.updateiOSVersion = function updateiOSVersion(version) {
104104
/***/ }),
105105

106106
/***/ 8007:
107-
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
107+
/***/ ((__unused_webpack_module, __webpack_exports__, __nccwpck_require__) => {
108108

109+
"use strict";
110+
__nccwpck_require__.r(__webpack_exports__);
111+
/* harmony export */ __nccwpck_require__.d(__webpack_exports__, {
112+
/* harmony export */ "MAX_INCREMENTS": () => (/* binding */ MAX_INCREMENTS),
113+
/* harmony export */ "SEMANTIC_VERSION_LEVELS": () => (/* binding */ SEMANTIC_VERSION_LEVELS),
114+
/* harmony export */ "getPreviousVersion": () => (/* binding */ getPreviousVersion),
115+
/* harmony export */ "getVersionNumberFromString": () => (/* binding */ getVersionNumberFromString),
116+
/* harmony export */ "getVersionStringFromNumber": () => (/* binding */ getVersionStringFromNumber),
117+
/* harmony export */ "incrementMinor": () => (/* binding */ incrementMinor),
118+
/* harmony export */ "incrementPatch": () => (/* binding */ incrementPatch),
119+
/* harmony export */ "incrementVersion": () => (/* binding */ incrementVersion)
120+
/* harmony export */ });
109121
const _ = __nccwpck_require__(5067);
110122

111123
const SEMANTIC_VERSION_LEVELS = {
@@ -173,8 +185,8 @@ const incrementPatch = (major, minor, patch) => {
173185
/**
174186
* Increments a build version
175187
*
176-
* @param {Number} version
177-
* @param {Number} level
188+
* @param {String} version
189+
* @param {String} level
178190
* @returns {String}
179191
*/
180192
const incrementVersion = (version, level) => {
@@ -235,18 +247,7 @@ function getPreviousVersion(currentVersion, level) {
235247
return getVersionStringFromNumber(major, minor, patch, build - 1);
236248
}
237249

238-
module.exports = {
239-
getVersionNumberFromString,
240-
getVersionStringFromNumber,
241-
incrementVersion,
242-
243-
// For tests
244-
MAX_INCREMENTS,
245-
SEMANTIC_VERSION_LEVELS,
246-
incrementMinor,
247-
incrementPatch,
248-
getPreviousVersion,
249-
};
250+
250251

251252

252253
/***/ }),
@@ -5954,6 +5955,34 @@ module.exports = underscoreNodeF._;
59545955
/******/ }
59555956
/******/
59565957
/************************************************************************/
5958+
/******/ /* webpack/runtime/define property getters */
5959+
/******/ (() => {
5960+
/******/ // define getter functions for harmony exports
5961+
/******/ __nccwpck_require__.d = (exports, definition) => {
5962+
/******/ for(var key in definition) {
5963+
/******/ if(__nccwpck_require__.o(definition, key) && !__nccwpck_require__.o(exports, key)) {
5964+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
5965+
/******/ }
5966+
/******/ }
5967+
/******/ };
5968+
/******/ })();
5969+
/******/
5970+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
5971+
/******/ (() => {
5972+
/******/ __nccwpck_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
5973+
/******/ })();
5974+
/******/
5975+
/******/ /* webpack/runtime/make namespace object */
5976+
/******/ (() => {
5977+
/******/ // define __esModule on exports
5978+
/******/ __nccwpck_require__.r = (exports) => {
5979+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
5980+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5981+
/******/ }
5982+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
5983+
/******/ };
5984+
/******/ })();
5985+
/******/
59575986
/******/ /* webpack/runtime/compat */
59585987
/******/
59595988
/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/";

.github/actions/javascript/checkDeployBlockers/index.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,14 @@ class GithubUtils {
636636
.then((events) => _.filter(events, (event) => event.event === 'closed'))
637637
.then((closedEvents) => lodashGet(_.last(closedEvents), 'actor.login', ''));
638638
}
639+
640+
static getArtifactByName(artefactName) {
641+
return this.paginate(this.octokit.actions.listArtifactsForRepo, {
642+
owner: CONST.GITHUB_OWNER,
643+
repo: CONST.APP_REPO,
644+
per_page: 100,
645+
}).then((artifacts) => _.findWhere(artifacts, {name: artefactName}));
646+
}
639647
}
640648

641649
module.exports = GithubUtils;

.github/actions/javascript/createOrUpdateStagingDeploy/createOrUpdateStagingDeploy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const _ = require('underscore');
44
const core = require('@actions/core');
55
const CONST = require('../../../libs/CONST');
66
const GithubUtils = require('../../../libs/GithubUtils');
7-
const GitUtils = require('../../../libs/GitUtils');
7+
const GitUtils = require('../../../libs/GitUtils').default;
88

99
async function run() {
1010
// Note: require('package.json').version does not work because ncc will resolve that to a plain string at compile time

0 commit comments

Comments
 (0)