Skip to content

Commit 89b71eb

Browse files
remove widget mpk from repo
1 parent e4665bf commit 89b71eb

File tree

6 files changed

+16
-16
lines changed

6 files changed

+16
-16
lines changed

.github/workflows/build-module.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,17 @@ name: Build module
22
on:
33
workflow_call:
44
outputs:
5+
widget-version:
6+
value: ${{ jobs.build-widget.outputs.widget-version }}
57
module-version:
6-
value: ${{ jobs.build.outputs.module-version }}
8+
value: ${{ jobs.build-module.outputs.module-version }}
79
jobs:
8-
build:
10+
build-widget:
11+
uses: ./.github/workflows/build-widget.yml
12+
secrets: inherit
13+
build-module:
914
runs-on: windows-latest
15+
needs: build-widget
1016
outputs:
1117
module-version: ${{ steps.module-version.outputs.module-version }}
1218
steps:
@@ -28,6 +34,10 @@ jobs:
2834
echo "$env:MODULE_VERSION"
2935
- name: "Detected module version"
3036
run: echo $env:MODULE_VERSION
37+
- uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # 4.2.1
38+
with:
39+
name: widget
40+
path: module/widgets/
3141
- name: Build module
3242
run: ./gradlew buildModule
3343
env:

.github/workflows/pull-request.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ jobs:
55
build-module:
66
uses: ./.github/workflows/build-module.yml
77
secrets: inherit
8-
build-widget:
9-
uses: ./.github/workflows/build-widget.yml
10-
secrets: inherit
118
snyk:
129
uses: ./.github/workflows/snyk.yml
1310
secrets: inherit

.github/workflows/release-draft.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,14 @@ jobs:
1111
build-module:
1212
uses: ./.github/workflows/build-module.yml
1313
secrets: inherit
14-
build-widget:
15-
uses: ./.github/workflows/build-widget.yml
16-
secrets: inherit
1714
check-version:
1815
runs-on: ubuntu-latest
1916
needs:
2017
- build-module
21-
- build-widget
2218
steps:
2319
- run: |
24-
if [[ ${{ needs.build-module.outputs.module-version }} != ${{ needs.build-widget.outputs.widget-version }} ]]; then
25-
echo "Module version (${{ needs.build-module.outputs.module-version }}) and widget version (${{ needs.build-widget.outputs.widget-version }}) do not match"
20+
if [[ ${{ needs.build-module.outputs.module-version }} != ${{ needs.build-module.outputs.widget-version }} ]]; then
21+
echo "Module version (${{ needs.build-module.outputs.module-version }}) and widget version (${{ needs.build-module.outputs.widget-version }}) do not match"
2622
exit 1
2723
fi
2824
documentation:
@@ -35,7 +31,6 @@ jobs:
3531
- check-version
3632
- documentation
3733
- build-module
38-
- build-widget
3934
runs-on: ubuntu-latest
4035
#if: github.ref_type == 'tag'
4136
steps:

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,5 @@ widget/node_modules/
2828
*.bak
2929

3030
module/userlib/*.jar
31-
module/userlib/*.RequiredLib
31+
module/userlib/*.RequiredLib
32+
module/widgets/MxPushNotifications.mpk

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,3 @@ To fetch them, run the `updateUserLibs` task after checking out the repo (and af
5959

6060
Changes to the `userlib` folder are ignored by git.
6161
If you make any changes to the libraries required by other modules, you must commit these explicitly, using e.g. `git add -f <path>`.
62-
63-
Although the widget is built as part of the CI workflows, it is not integrated into the module.
64-
Newly built widget versions must always be committed manually.
-13 KB
Binary file not shown.

0 commit comments

Comments
 (0)