-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
873 lines (803 loc) · 32.8 KB
/
update.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
name: Check update
on:
workflow_dispatch:
inputs:
wsa_ver:
type: string
description: WSA Version.
required: true
wsa_message:
type: string
description: WSA Update Message.
required: true
release_type:
type: choice
options:
- WIF
- retail
description: Release Type
required: true
jobs:
check:
name: Check updates for components
runs-on: ubuntu-latest
steps:
- name: Checkout ♻️
uses: actions/checkout@v4
- name: Install Dependencies 🧑🏭
run: |
pip3 install beautifulsoup4 lxml
- name: Create branch if not found 🏗️
run: |
git checkout -f update || git switch --discard-changes --orphan update
- name: Obtain MagiskOnWSALocal Files ✅
run: |
git clone https://github.com/LSPosed/MagiskOnWSALocal.git MagiskOnWSALocal1
git clone https://github.com/LSPosed/MagiskOnWSALocal.git MagiskOnWSALocal2
- name: Check Directories and Sub-Directories ☑️
run: tree
- name: Check Magisk Stable Version ✅
run: |
wget https://github.com/MustardChef/WSABuilds/raw/master/MagiskOnWSA/Update%20Check/MagiskStableUpdateCheck.py
python3 MagiskStableUpdateCheck.py
- name: Check Magisk Canary Version ☑️
run: |
wget https://github.com/MustardChef/WSABuilds/raw/master/MagiskOnWSA/Update%20Check/MagiskCanaryUpdateCheck.py
python3 MagiskCanaryUpdateCheck.py
- name: Check KernelSU Version ✅
run: |
wget https://github.com/MustardChef/WSABuilds/raw/master/MagiskOnWSA/Update%20Check/KernelSUUpdateCheck.py
python3 KernelSUUpdateCheck.py
- name: Check MindTheGapps Version ☑️
run: |
wget https://github.com/MustardChef/WSABuilds/raw/master/MagiskOnWSA/Update%20Check/MTGUpdateCheck.py
python3 MTGUpdateCheck.py
- name: Check GitHub ENVs
run: |
echo Magisk Canary Update Message: ${{ env.MAGISK_CANARY_MSG }}
echo Magisk Stable Update Message: ${{ env.MAGISK_STABLE_MSG }}
echo KernelSU Update Message: ${{ env.KERNEL_SU_MSG }}
echo MTG Update Message: ${{ env.MTG_MSG }}
- name: Update App version 🔗
uses: stefanzweifel/git-auto-commit-action@v5.0.1
with:
branch: update
push_options: '--force'
file_pattern: '*.appversion'
commit_message: ${{ env.MSG || 'Update App Version' }}
create_branch: true
- name: Delete old workflow run ❌
uses: Mattraks/delete-workflow-runs@v2.0.6
with:
token: ${{ github.token }}
repository: ${{ github.repository }}
retain_days: 0
keep_minimum_runs: 0
delete_workflow_pattern: "Check update"
- name: Checkout Again! 🔄
uses: actions/checkout@v4
outputs:
MAGISK_CANARY_MSG: ${{ env.MAGISK_CANARY_MSG }}
MAGISK_STABLE_MSG: ${{ env.MAGISK_STABLE_MSG }}
KERNEL_SU_MSG: ${{ env.KERNEL_SU_MSG }}
MTG_MSG: ${{ env.MTG_MSG }}
update-downloadlinks:
name: Update Download Links
runs-on: ubuntu-latest
steps:
- name: Checkout 🔄
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: pip install beautifulsoup4 PyGithub lxml
- name: Check Release type and get latest version and row/column numbers
run: |
verofwsa=${{ inputs.wsa_ver }}
win11x64_link="<p><a href=\"https://github.com/MustardChef/WSABuilds/releases/tag/Windows_11_${verofwsa}\"><img alt=\"win11x64downpre\" src=\"https://img.shields.io/badge/Download%20Latest%20Pre--Release%20Builds-Windows%2011%20x64-orange?style=for-the-badge&logo=windows11\"/></a></p>"
win11arm64_link="<p><a href=\"https://github.com/MustardChef/WSABuilds/releases/tag/Windows_11_${verofwsa}_arm64\"><img alt=\"win11arm64downpre\" src=\"https://img.shields.io/badge/Download%20Latest%20Pre--Release%20Builds-Windows%2011%20arm64-orange?style=for-the-badge&logo=windows11\"/></a></p>"
win10x64_link="<p><a href=\"https://github.com/MustardChef/WSABuilds/releases/tag/Windows_10_${verofwsa}\"><img alt=\"win10x64down\" src=\"https://img.shields.io/badge/Download%20Latest%20Pre--Release%20Builds-Windows%2010%20x64-orange?style=for-the-badge&logo=windows\"/></a></p>"
win11x64_link_retail="<p><a href=\"https://github.com/MustardChef/WSABuilds/releases/tag/Windows_11_${verofwsa}\"><img alt=\"win11x64downstable\" src=\"https://img.shields.io/badge/Download%20Latest%20Stable%20Builds-Windows%2011%20x64-blue?style=for-the-badge&logo=windows11\"/></a></p>"
win11arm64_link_retail="<p><a href=\"https://github.com/MustardChef/WSABuilds/releases/tag/Windows_11_${verofwsa}_arm64\"><img alt=\"win11arm64downstable\" src=\"https://img.shields.io/badge/Download%20Latest%20Stable%20Builds-Windows%2011%20arm64-blue?style=for-the-badge&logo=windows11\"/></a></p>"
win10x64_link_retail="<p><a href=\"https://github.com/MustardChef/WSABuilds/releases/tag/Windows_10_${verofwsa}\"><img alt=\"win10x64down\" src=\"https://img.shields.io/badge/Download%20Latest%20Stable%20Builds-Windows%2010%20x64-blue?style=for-the-badge&logo=windows\"/></a></p>"
echo "LINK_FOR_W11X64=$win11x64_link" >> $GITHUB_ENV
echo "LINK_FOR_W11ARM64=$win11arm64_link" >> $GITHUB_ENV
echo "LINK_FOR_W10X64=$win10x64_link" >> $GITHUB_ENV
echo "LATEST_VER=$verofwsa" >> $GITHUB_ENV
echo "LINK_FOR_W11X64_RETAIL=$win11x64_link_retail" >> $GITHUB_ENV
echo "LINK_FOR_W11ARM64_RETAIL=$win11arm64_link_retail" >> $GITHUB_ENV
echo "LINK_FOR_W10X64_RETAIL=$win10x64_link_retail" >> $GITHUB_ENV
- name: Print environment variables
run: |
echo "LINK_FOR_W11X64_RETAIL=$LINK_FOR_W11X64_RETAIL"
echo "LINK_FOR_W11ARM64_RETAIL=$LINK_FOR_W11ARM64_RETAIL"
echo "LINK_FOR_W10X64_RETAIL=$LINK_FOR_W10X64_RETAIL"
echo "LINK_FOR_W11X64=$LINK_FOR_W11X64"
echo "LINK_FOR_W11ARM64=$LINK_FOR_W11ARM64"
echo "LINK_FOR_W10X64=$LINK_FOR_W10X64"
echo "LATEST_VER_RETAIL=$LATEST_VER"
- name: Replace Link in README.md for Download Links Table for the WSA ${{ env.LATEST_VER }} update
if: inputs.release_type == 'WIF'
run: python "./MagiskOnWSA/Update Check/update-downloadlinks.py"
env:
LINK_FOR_W11X64: ${{ env.LINK_FOR_W11X64 }}
LINK_FOR_W11ARM64: ${{ env.LINK_FOR_W11ARM64 }}
LINK_FOR_W10X64: ${{ env.LINK_FOR_W10X64 }}
RELEASE_TYPE: "WIF"
LATEST_VER: ${{ env.LATEST_VER }}
- name: Replace Link in README.md for Download Links Table for the WSA ${{ env.LATEST_VER }} update
if: inputs.release_type == 'retail'
run: python "./MagiskOnWSA/Update Check/update-downloadlinks.py"
env:
LINK_FOR_W11X64: ${{ env.LINK_FOR_W11X64_RETAIL }}
LINK_FOR_W11ARM64: ${{ env.LINK_FOR_W11ARM64_RETAIL }}
LINK_FOR_W10X64: ${{ env.LINK_FOR_W10X64_RETAIL }}
RELEASE_TYPE: "retail"
LATEST_VER: ${{ env.LATEST_VER }}
- name: Commit and push if it changed
run: |
git diff
git config --global user.email "68516357+MustardChef@users.noreply.github.com"
git config --global user.name "MustardChef"
git commit -am "Update Download Links for Update: ${{ env.LATEST_VER }}" || exit 0
git pull --rebase origin master
git push
check-and-create-tag:
name: Creates the release tags
needs: [check, update-downloadlinks]
runs-on: ubuntu-latest
steps:
- name: Checkout 🔄
uses: actions/checkout@v4
- name: Prepare release tag 🏷️
id: releasetag
shell: bash
run: |
currentver=${{ inputs.wsa_ver }}
echo "WSA_VER=$currentver" >> $GITHUB_ENV
echo "WIN11X64_TAG=Windows_11_$currentver" >> $GITHUB_ENV
echo "WIN11ARM64_TAG=Windows_11_${currentver}_arm64" >> $GITHUB_ENV
echo "WIN10X64_TAG=Windows_10_$currentver" >> $GITHUB_ENV
- name: Run Tag Checks for Windows 11 x64 Releases
uses: mukunku/tag-exists-action@v1.6.0
id: checkTag1
with:
tag: ${{ env.WIN11X64_TAG }}
repo: 'MustardChef/WSABuilds'
- run: echo ${{ steps.checkTag1.outputs.exists }}
- name: Stop workflow if tag exists
if: steps.checkTag.outputs.exists == 'true'
run: exit 1
- name: Run Tag Checks for Windows 11 arm64 Releases
uses: mukunku/tag-exists-action@v1.6.0
id: checkTag2
with:
tag: ${{ env.WIN11ARM64_TAG }}
repo: 'MustardChef/WSABuilds'
- run: echo ${{ steps.checkTag.outputs.exists }}
- name: Stop workflow if tag exists
if: steps.checkTag2.outputs.exists == 'true'
run: exit 1
- name: Run Tag Checks for Windows 10 x64 Releases
uses: mukunku/tag-exists-action@v1.6.0
id: checkTag3
with:
tag: ${{ env.WIN10X64_TAG }}
repo: 'MustardChef/WSABuilds'
- run: echo ${{ steps.checkTag.outputs.exists }}
- name: Stop workflow if tag exists
if: steps.checkTag3.outputs.exists == 'true'
run: exit 1
- name: Download Release Notes (WIF) 📥
if: inputs.release_type == 'WIF'
run: |
wget https://gist.github.com/MustardChef/edb0dfc50ab4942cd5914cef6a81602e/raw/ -P ${{ github.workspace }} -O Windows11x64.md
wget https://gist.github.com/MustardChef/3ae3343bb98f6e158ce951ec09fd3661/raw/ -P ${{ github.workspace }} -O Windows11arm64.md
wget https://gist.github.com/MustardChef/f2ebafde3a3072cac7e6f726da3ffa50/raw/ -P ${{ github.workspace }} -O Windows10x64.md
ls
env:
GITHUB_WORKSPACE: ${{ github.workspace }}
- name: Download Release Notes (RETAIL) 📥
if: inputs.release_type == 'retail'
run: |
wget https://gist.github.com/MustardChef/788d12344916043a7a3df9c1165b8843/raw/a8084d98b28cf650a60c74f3abf0484640bd36b7/Windows11x64retail.md -P ${{ github.workspace }} -O Windows11x64.md
wget https://gist.github.com/MustardChef/102fd29f091ff5f727cb7b508bd1433e/raw/3e6b97d18d28f0daefcdc7c6cfb6e62677ab40c5/Windows11arm64retail.md -P ${{ github.workspace }} -O Windows11arm64.md
wget https://gist.github.com/MustardChef/5b9c3dad6c3fc93f98209f0c15efc0fe/raw/5886a7c07f40b1b716dc9ab1cfb6b28326dde552/Windows10x64retail.md -P ${{ github.workspace }} -O Windows10x64.md
ls
env:
GITHUB_WORKSPACE: ${{ github.workspace }}
- name: Update Release Notes for Windows 11 x64 notes📝
run: |
import os
import re
from datetime import datetime
date = datetime.utcnow().strftime('%d/%m/%Y')
time = datetime.utcnow().strftime('%H:%M:%S')
file_path = os.path.join(os.environ['GITHUB_WORKSPACE'], 'Windows11x64.md')
with open(file_path, 'r') as file:
file_data = file.read()
def custom_escape(string):
return string.replace('\\', '')
file_data = re.sub('<<DATEOFRELEASE>>', date, file_data)
file_data = re.sub('<<TIMEOFRELEASE>>', time, file_data)
file_data = re.sub('<<REASONFORRELEASE>>', 'Initial Release', file_data)
file_data = re.sub('<<WSAANDROIDVERSION>>', 'Android 13', file_data)
file_data = re.sub('<<MTGPACKAGENAME>>', custom_escape(os.environ['MTG_MSG']), file_data)
file_data = re.sub('<<MAGISKCANARYVERSION>>', custom_escape(os.environ['MAGISK_CANARY_MSG']), file_data)
file_data = re.sub('<<MAGISKSTABLEVERSION>>', custom_escape(os.environ['MAGISK_STABLE_MSG']), file_data)
file_data = re.sub('<<KERNELSUVERSION>>', custom_escape(os.environ['KERNEL_SU_MSG']), file_data)
with open(file_path, 'w') as file:
file.write(file_data)
shell: python
env:
GITHUB_WORKSPACE: ${{ github.workspace }}
MTG_MSG: ${{ needs.check.outputs.MTG_MSG }}
MAGISK_CANARY_MSG: ${{ needs.check.outputs.MAGISK_CANARY_MSG }}
MAGISK_STABLE_MSG: ${{ needs.check.outputs.MAGISK_STABLE_MSG }}
KERNEL_SU_MSG: ${{ needs.check.outputs.KERNEL_SU_MSG }}
- name: Update Release Notes for Windows 11 arm64 notes📝
run: |
import os
import re
from datetime import datetime
date = datetime.utcnow().strftime('%d/%m/%Y')
time = datetime.utcnow().strftime('%H:%M:%S')
file_path = os.path.join(os.environ['GITHUB_WORKSPACE'], 'Windows11arm64.md')
with open(file_path, 'r') as file:
file_data = file.read()
def custom_escape(string):
return string.replace('\\', '')
file_data = re.sub('<<DATEOFRELEASE>>', date, file_data)
file_data = re.sub('<<TIMEOFRELEASE>>', time, file_data)
file_data = re.sub('<<REASONFORRELEASE>>', 'Initial Release', file_data)
file_data = re.sub('<<WSAANDROIDVERSION>>', 'Android 13', file_data)
file_data = re.sub('<<MTGPACKAGENAME>>', custom_escape(os.environ['MTG_MSG']), file_data)
file_data = re.sub('<<MAGISKCANARYVERSION>>', custom_escape(os.environ['MAGISK_CANARY_MSG']), file_data)
file_data = re.sub('<<MAGISKSTABLEVERSION>>', custom_escape(os.environ['MAGISK_STABLE_MSG']), file_data)
file_data = re.sub('<<KERNELSUVERSION>>', custom_escape(os.environ['KERNEL_SU_MSG']), file_data)
with open(file_path, 'w') as file:
file.write(file_data)
shell: python
env:
GITHUB_WORKSPACE: ${{ github.workspace }}
MTG_MSG: ${{ needs.check.outputs.MTG_MSG }}
MAGISK_CANARY_MSG: ${{ needs.check.outputs.MAGISK_CANARY_MSG }}
MAGISK_STABLE_MSG: ${{ needs.check.outputs.MAGISK_STABLE_MSG }}
KERNEL_SU_MSG: ${{ needs.check.outputs.KERNEL_SU_MSG }}
- name: Update Release Notes for Windows 10 x64 notes📝
run: |
import os
import re
from datetime import datetime
date = datetime.utcnow().strftime('%d/%m/%Y')
time = datetime.utcnow().strftime('%H:%M:%S')
file_path = os.path.join(os.environ['GITHUB_WORKSPACE'], 'Windows10x64.md')
with open(file_path, 'r') as file:
file_data = file.read()
def custom_escape(string):
return string.replace('\\', '')
file_data = re.sub('<<DATEOFRELEASE>>', date, file_data)
file_data = re.sub('<<TIMEOFRELEASE>>', time, file_data)
file_data = re.sub('<<REASONFORRELEASE>>', 'Initial Release', file_data)
file_data = re.sub('<<WSAANDROIDVERSION>>', 'Android 13', file_data)
file_data = re.sub('<<MTGPACKAGENAME>>', custom_escape(os.environ['MTG_MSG']), file_data)
file_data = re.sub('<<MAGISKCANARYVERSION>>', custom_escape(os.environ['MAGISK_CANARY_MSG']), file_data)
file_data = re.sub('<<MAGISKSTABLEVERSION>>', custom_escape(os.environ['MAGISK_STABLE_MSG']), file_data)
file_data = re.sub('<<KERNELSUVERSION>>', custom_escape(os.environ['KERNEL_SU_MSG']), file_data)
with open(file_path, 'w') as file:
file.write(file_data)
shell: python
env:
GITHUB_WORKSPACE: ${{ github.workspace }}
MTG_MSG: ${{ needs.check.outputs.MTG_MSG }}
MAGISK_CANARY_MSG: ${{ needs.check.outputs.MAGISK_CANARY_MSG }}
MAGISK_STABLE_MSG: ${{ needs.check.outputs.MAGISK_STABLE_MSG }}
KERNEL_SU_MSG: ${{ needs.check.outputs.KERNEL_SU_MSG }}
- name: Create Tag and Release for Windows 11 arm64 release ✍🏼
if: inputs.release_type == 'WIF'
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ env.WIN11ARM64_TAG }}
token: ${{ secrets.GITHUB_TOKEN }}
body_path: ${{github.workspace}}/Windows11arm64.md
name: WSABuilds LTS ${{ inputs.wsa_message }} for Windows 11 arm64
env:
GITHUB_WORKSPACE: ${{ github.workspace }}
- name: Create Tag and Release for Windows 10 x64 release ✍🏼
if: inputs.release_type == 'WIF'
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ env.WIN10X64_TAG }}
token: ${{ secrets.GITHUB_TOKEN }}
body_path: ${{github.workspace}}/Windows10x64.md
name: WSABuilds LTS ${{ inputs.wsa_message }} for Windows 10 x64
env:
GITHUB_WORKSPACE: ${{ github.workspace }}
- name: Create Tag and Release for Windows 11 x64 release ✍🏼
if: inputs.release_type == 'WIF'
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ env.WIN11X64_TAG }}
token: ${{ secrets.GITHUB_TOKEN }}
body_path: ${{github.workspace}}/Windows11x64.md
name: WSABuilds LTS ${{ inputs.wsa_message }} for Windows 11 x64
env:
GITHUB_WORKSPACE: ${{ github.workspace }}
- name: Create Tag and Release for Windows 11 arm64 release ✍🏼
if: inputs.release_type == 'retail'
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ env.WIN11ARM64_TAG }}
token: ${{ secrets.GITHUB_TOKEN }}
body_path: ${{github.workspace}}/Windows11arm64.md
name: Windows Subsystem For Android ${{ inputs.wsa_message }} for Windows 11 arm64
env:
GITHUB_WORKSPACE: ${{ github.workspace }}
- name: Create Tag and Release for Windows 10 x64 release ✍🏼
if: inputs.release_type == 'retail'
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ env.WIN10X64_TAG }}
token: ${{ secrets.GITHUB_TOKEN }}
body_path: ${{github.workspace}}/Windows10x64.md
name: Windows Subsystem For Android ${{ inputs.wsa_message }} for Windows 10 x64
env:
GITHUB_WORKSPACE: ${{ github.workspace }}
- name: Create Tag and Release for Windows 11 x64 release ✍🏼
if: inputs.release_type == 'retail'
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ env.WIN11X64_TAG }}
token: ${{ secrets.GITHUB_TOKEN }}
body_path: ${{github.workspace}}/Windows11x64.md
name: Windows Subsystem For Android ${{ inputs.wsa_message }} for Windows 11 x64
env:
GITHUB_WORKSPACE: ${{ github.workspace }}
build_x64_no_root_gapps_remove_amazon_redfin:
name: Build for x64 as Redfin with No Root, GApps and No Amazon Appstore
if: inputs.release_type == 'WIF'
permissions: write-all
needs: [check, check-and-create-tag, update-downloadlinks]
uses: ./.github/workflows/build.yml
with:
arch: x64
root: none
gapps: --install-gapps
gappsver: MindTheGapps
amazonflag: --remove-amazon
magiskver: stable
devicemodel: redfin
compressformat: zip
wsa_ver: ${{ inputs.wsa_ver }}
secrets: inherit
build_x64_no_root_gapps_redfin:
name: Build for x64 as Redfin with No Root, GApps
if: inputs.release_type == 'WIF'
permissions: write-all
needs: [check, check-and-create-tag, update-downloadlinks]
uses: ./.github/workflows/build.yml
with:
arch: x64
root: none
gapps: --install-gapps
gappsver: MindTheGapps
amazonflag: ""
magiskver: stable
devicemodel: redfin
compressformat: zip
wsa_ver: ${{ inputs.wsa_ver }}
secrets: inherit
build_x64_no_root_no_gapps_remove_amazon_redfin:
name: Build for x64 as Redfin with No Root, No GApps and No Amazon Appstore
if: inputs.release_type == 'WIF'
permissions: write-all
needs: [check, check-and-create-tag, update-downloadlinks]
uses: ./.github/workflows/build.yml
with:
arch: x64
root: none
gapps: ""
gappsver: none
amazonflag: --remove-amazon
magiskver: stable
devicemodel: redfin
compressformat: zip
wsa_ver: ${{ inputs.wsa_ver }}
secrets: inherit
build_x64_no_root_no_gapps_redfin:
name: Build for x64 as Redfin with No Root, No GApps
if: inputs.release_type == 'WIF'
permissions: write-all
needs: [check, check-and-create-tag, update-downloadlinks]
uses: ./.github/workflows/build.yml
with:
arch: x64
root: none
gapps: ""
gappsver: none
amazonflag: ""
magiskver: stable
devicemodel: redfin
compressformat: zip
wsa_ver: ${{ inputs.wsa_ver }}
secrets: inherit
build_x64_kernelsu_gapps_remove_amazon_redfin:
name: Build for x64 as Redfin with KernelSU, GApps and No Amazon Appstore
if: inputs.release_type == 'WIF'
permissions: write-all
needs: [check, check-and-create-tag, update-downloadlinks]
uses: ./.github/workflows/build_old.yml
with:
arch: x64
root: kernelsu
gapps: --install-gapps
gappsver: MindTheGapps
amazonflag: --remove-amazon
magiskver: stable
devicemodel: redfin
compressformat: zip
wsa_ver: ${{ inputs.wsa_ver }}
secrets: inherit
build_x64_magisk_gapps_redfin:
name: Build for x64 as Redfin with Magisk, GApps
if: inputs.release_type == 'WIF'
permissions: write-all
needs: [check, check-and-create-tag, update-downloadlinks]
uses: ./.github/workflows/build.yml
with:
arch: x64
root: magisk
gapps: --install-gapps
gappsver: MindTheGapps
amazonflag: ""
magiskver: stable
devicemodel: redfin
compressformat: zip
wsa_ver: ${{ inputs.wsa_ver }}
secrets: inherit
build_x64_magisk_no_gapps_remove_amazon_redfin:
name: Build for x64 as Redfin with Magisk, No GApps and No Amazon Appstore
if: inputs.release_type == 'WIF'
permissions: write-all
needs: [check, check-and-create-tag, update-downloadlinks]
uses: ./.github/workflows/build.yml
with:
arch: x64
root: magisk
gapps: ""
gappsver: none
amazonflag: --remove-amazon
magiskver: stable
devicemodel: redfin
compressformat: zip
wsa_ver: ${{ inputs.wsa_ver }}
secrets: inherit
build_x64_magisk_canary_gapps_remove_amazon_redfin:
name: Build for x64 as Redfin with Magisk Canary, GApps and No Amazon Appstore
if: inputs.release_type == 'WIF'
permissions: write-all
needs: [check, check-and-create-tag, update-downloadlinks]
uses: ./.github/workflows/build.yml
with:
arch: x64
root: magisk
gapps: --install-gapps
gappsver: MindTheGapps
amazonflag: --remove-amazon
magiskver: canary
devicemodel: redfin
compressformat: zip
wsa_ver: ${{ inputs.wsa_ver }}
secrets: inherit
build_arm64_no_root_gapps_remove_amazon_redfin:
name: Build for arm64 as Redfin with No Root, GApps and No Amazon Appstore
if: inputs.release_type == 'WIF'
permissions: write-all
needs: [check, check-and-create-tag, update-downloadlinks]
uses: ./.github/workflows/buildarm64.yml
with:
arch: arm64
root: none
gapps: --install-gapps
gappsver: MindTheGapps
amazonflag: --remove-amazon
magiskver: stable
devicemodel: redfin
compressformat: zip
wsa_ver: ${{ inputs.wsa_ver }}
secrets: inherit
build_arm64_no_root_gapps_redfin:
name: Build for arm64 as Redfin with No Root, GApps
if: inputs.release_type == 'WIF'
permissions: write-all
needs: [check, check-and-create-tag, update-downloadlinks]
uses: ./.github/workflows/buildarm64.yml
with:
arch: arm64
root: none
gapps: --install-gapps
gappsver: MindTheGapps
amazonflag: ""
magiskver: stable
devicemodel: redfin
compressformat: zip
wsa_ver: ${{ inputs.wsa_ver }}
secrets: inherit
build_arm64_no_root_no_gapps_remove_amazon_redfin:
name: Build for arm64 as Redfin with No Root, No GApps and No Amazon Appstore
if: inputs.release_type == 'WIF'
permissions: write-all
needs: [check, check-and-create-tag, update-downloadlinks]
uses: ./.github/workflows/buildarm64.yml
with:
arch: arm64
root: none
gapps: ""
gappsver: none
amazonflag: --remove-amazon
magiskver: stable
devicemodel: redfin
compressformat: zip
wsa_ver: ${{ inputs.wsa_ver }}
secrets: inherit
build_arm64_no_root_no_gapps_redfin:
name: Build for arm64 as Redfin with No Root, No GApps
if: inputs.release_type == 'WIF'
permissions: write-all
needs: [check, check-and-create-tag, update-downloadlinks]
uses: ./.github/workflows/buildarm64.yml
with:
arch: arm64
root: none
gapps: ""
gappsver: none
amazonflag: ""
magiskver: stable
devicemodel: redfin
compressformat: zip
wsa_ver: ${{ inputs.wsa_ver }}
secrets: inherit
build_arm64_kernelsu_gapps_remove_amazon_redfin:
name: Build for arm64 as Redfin with KernelSU, GApps and No Amazon Appstore
if: inputs.release_type == 'WIF'
permissions: write-all
needs: [check, check-and-create-tag, update-downloadlinks]
uses: ./.github/workflows/build_arm64_old.yml
with:
arch: arm64
root: kernelsu
gapps: --install-gapps
gappsver: MindTheGapps
amazonflag: --remove-amazon
magiskver: stable
devicemodel: redfin
compressformat: zip
wsa_ver: ${{ inputs.wsa_ver }}
secrets: inherit
build_arm64_magisk_gapps_redfin:
name: Build for arm64 as Redfin with Magisk, GApps
if: inputs.release_type == 'WIF'
permissions: write-all
needs: [check, check-and-create-tag, update-downloadlinks]
uses: ./.github/workflows/buildarm64.yml
with:
arch: arm64
root: magisk
gapps: --install-gapps
gappsver: MindTheGapps
amazonflag: ""
magiskver: stable
devicemodel: redfin
compressformat: zip
wsa_ver: ${{ inputs.wsa_ver }}
secrets: inherit
build_arm64_magisk_no_gapps_remove_amazon_redfin:
name: Build for arm64 as Redfin with Magisk, No GApps and No Amazon Appstore
if: inputs.release_type == 'WIF'
permissions: write-all
needs: [check, check-and-create-tag, update-downloadlinks]
uses: ./.github/workflows/buildarm64.yml
with:
arch: arm64
root: magisk
gapps: ""
gappsver: none
amazonflag: --remove-amazon
magiskver: stable
devicemodel: redfin
compressformat: zip
wsa_ver: ${{ inputs.wsa_ver }}
secrets: inherit
build_arm64_magisk_canary_gapps_remove_amazon_redfin:
name: Build for arm64 as Redfin with Magisk Canary, GApps and No Amazon Appstore
if: inputs.release_type == 'WIF'
permissions: write-all
needs: [check, check-and-create-tag, update-downloadlinks]
uses: ./.github/workflows/buildarm64.yml
with:
arch: arm64
root: magisk
gapps: --install-gapps
gappsver: MindTheGapps
amazonflag: --remove-amazon
magiskver: canary
devicemodel: redfin
compressformat: zip
wsa_ver: ${{ inputs.wsa_ver }}
secrets: inherit
build_x64_no_root_gapps_remove_amazon_redfin_retail:
name: Build for x64 as Redfin with No Root, GApps and No Amazon Appstore
if: inputs.release_type == 'retail'
permissions: write-all
needs: [check, check-and-create-tag, update-downloadlinks]
uses: ./.github/workflows/build_old.yml
with:
arch: x64
root: none
gapps: --install-gapps
gappsver: MindTheGapps
amazonflag: --remove-amazon
magiskver: stable
devicemodel: redfin
compressformat: zip
wsa_ver: ${{ inputs.wsa_ver }}
secrets: inherit
build_x64_no_root_gapps_redfin_retail:
name: Build for x64 as Redfin with No Root, GApps
if: inputs.release_type == 'retail'
permissions: write-all
needs: [check, check-and-create-tag, update-downloadlinks]
uses: ./.github/workflows/build_old.yml
with:
arch: x64
root: none
gapps: --install-gapps
gappsver: MindTheGapps
amazonflag: ""
magiskver: stable
devicemodel: redfin
compressformat: zip
wsa_ver: ${{ inputs.wsa_ver }}
secrets: inherit
build_x64_no_root_no_gapps_remove_amazon_redfin_retail:
name: Build for x64 as Redfin with No Root, No GApps and No Amazon Appstore
if: inputs.release_type == 'retail'
permissions: write-all
needs: [check, check-and-create-tag, update-downloadlinks]
uses: ./.github/workflows/build_old.yml
with:
arch: x64
root: none
gapps: ""
gappsver: none
amazonflag: --remove-amazon
magiskver: stable
devicemodel: redfin
compressformat: zip
wsa_ver: ${{ inputs.wsa_ver }}
secrets: inherit
build_x64_no_root_no_gapps_redfin_retail:
name: Build for x64 as Redfin with No Root, No GApps
if: inputs.release_type == 'retail'
permissions: write-all
needs: [check, check-and-create-tag, update-downloadlinks]
uses: ./.github/workflows/build_old.yml
with:
arch: x64
root: none
gapps: ""
gappsver: none
amazonflag: ""
magiskver: stable
devicemodel: redfin
compressformat: zip
wsa_ver: ${{ inputs.wsa_ver }}
secrets: inherit
build_x64_kernelsu_gapps_remove_amazon_redfin_retail:
name: Build for x64 as Redfin with KernelSU, GApps and No Amazon Appstore
if: inputs.release_type == 'retail'
permissions: write-all
needs: [check, check-and-create-tag, update-downloadlinks]
uses: ./.github/workflows/build_old.yml
with:
arch: x64
root: kernelsu
gapps: --install-gapps
gappsver: MindTheGapps
amazonflag: --remove-amazon
magiskver: stable
devicemodel: redfin
compressformat: zip
wsa_ver: ${{ inputs.wsa_ver }}
secrets: inherit
build_arm64_no_root_gapps_remove_amazon_redfin_retail:
name: Build for arm64 as Redfin with No Root, GApps and No Amazon Appstore
if: inputs.release_type == 'retail'
permissions: write-all
needs: [check, check-and-create-tag, update-downloadlinks]
uses: ./.github/workflows/build_arm64_old.yml
with:
arch: arm64
root: none
gapps: --install-gapps
gappsver: MindTheGapps
amazonflag: --remove-amazon
magiskver: stable
devicemodel: redfin
compressformat: zip
wsa_ver: ${{ inputs.wsa_ver }}
secrets: inherit
build_arm64_no_root_gapps_redfin_retail:
name: Build for arm64 as Redfin with No Root, GApps
if: inputs.release_type == 'retail'
permissions: write-all
needs: [check, check-and-create-tag, update-downloadlinks]
uses: ./.github/workflows/build_arm64_old.yml
with:
arch: arm64
root: none
gapps: --install-gapps
gappsver: MindTheGapps
amazonflag: ""
magiskver: stable
devicemodel: redfin
compressformat: zip
wsa_ver: ${{ inputs.wsa_ver }}
secrets: inherit
build_arm64_no_root_no_gapps_remove_amazon_redfin_retail:
name: Build for arm64 as Redfin with No Root, No GApps and No Amazon Appstore
if: inputs.release_type == 'retail'
permissions: write-all
needs: [check, check-and-create-tag, update-downloadlinks]
uses: ./.github/workflows/build_arm64_old.yml
with:
arch: arm64
root: none
gapps: ""
gappsver: none
amazonflag: --remove-amazon
magiskver: stable
devicemodel: redfin
compressformat: zip
wsa_ver: ${{ inputs.wsa_ver }}
secrets: inherit
build_arm64_no_root_no_gapps_redfin_retail:
name: Build for arm64 as Redfin with No Root, No GApps
if: inputs.release_type == 'retail'
permissions: write-all
needs: [check, check-and-create-tag, update-downloadlinks]
uses: ./.github/workflows/build_arm64_old.yml
with:
arch: arm64
root: none
gapps: ""
gappsver: none
amazonflag: ""
magiskver: stable
devicemodel: redfin
compressformat: zip
wsa_ver: ${{ inputs.wsa_ver }}
secrets: inherit
build_arm64_kernelsu_gapps_remove_amazon_redfin_retail:
name: Build for arm64 as Redfin with KernelSU, GApps and No Amazon Appstore
if: inputs.release_type == 'retail'
permissions: write-all
needs: [check, check-and-create-tag, update-downloadlinks]
uses: ./.github/workflows/build_arm64_old.yml
with:
arch: arm64
root: kernelsu
gapps: --install-gapps
gappsver: MindTheGapps
amazonflag: --remove-amazon
magiskver: stable
devicemodel: redfin
compressformat: zip
wsa_ver: ${{ inputs.wsa_ver }}
secrets: inherit