mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2024-11-10 21:55:11 +01:00
Keep gapps to pico
if it's Android 12.1 (#375)
This commit is contained in:
parent
dfcb3812d5
commit
a12a3d6d24
11
.github/workflows/magisk.yml
vendored
11
.github/workflows/magisk.yml
vendored
@ -144,9 +144,13 @@ jobs:
|
||||
print(f"unzipping to {zip_name}", flush=True)
|
||||
zip.extract(f)
|
||||
ver_no = zip_name.split("_")
|
||||
ver = ver_no[1]
|
||||
long_ver = ver_no[1]
|
||||
ver=long_ver.split(".")
|
||||
main_ver=ver[1]
|
||||
with open(os.environ['GITHUB_ENV'], 'a') as g:
|
||||
g.write(f'WSA_VER={ver}\n')
|
||||
g.write(f'WSA_VER={long_ver}\n')
|
||||
with open(os.environ['GITHUB_ENV'], 'a') as g:
|
||||
g.write(f'WSA_MAIN_VER={main_ver}\n')
|
||||
rel = ver_no[3].split(".")
|
||||
rell = str(rel[0])
|
||||
with open(os.environ['GITHUB_ENV'], 'a') as g:
|
||||
@ -234,7 +238,8 @@ jobs:
|
||||
import re
|
||||
|
||||
arch = "${{ matrix.arch }}"
|
||||
variant = "${{ github.event.inputs.gapps_variant }}"
|
||||
# TODO: if it's an Android 12.1 base WSA keep it pico since other variants of opengapps are unable to boot successfully
|
||||
variant = "${{ github.event.inputs.gapps_variant }}" if int("${{ env.WSA_MAIN_VER }}") < 2204 else "pico"
|
||||
abi_map = {"x64" : "x86_64", "arm64": "arm64"}
|
||||
# TODO: keep it 11.0 since opengapps does not support 12+ yet
|
||||
# As soon as opengapps is available for 12+, we need to get the sdk/release from build.prop and
|
||||
|
Loading…
Reference in New Issue
Block a user