Warning about Gapps compatibility in Markdown. (#379)

This commit is contained in:
Howard Wu 2022-05-25 23:07:15 +08:00 committed by GitHub
parent 1f37fafcef
commit 0c54452496
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -636,6 +636,11 @@ jobs:
if [[ "$variant" = "none" || "$variant" = "" ]]; then if [[ "$variant" = "none" || "$variant" = "" ]]; then
name2="-NoGApps" name2="-NoGApps"
else else
if [[ ${{ env.WSA_MAIN_VER }} -ge 2204 && "$variant" != "pico" ]]; then
echo "### MagiskOnWSA" >> $GITHUB_STEP_SUMMARY
echo ":warning: Since OpenGapps doesn't officially support Android 12.1 yet, lock the variant to pico!" >> $GITHUB_STEP_SUMMARY
variant="pico"
fi
name2="-GApps-${variant}" name2="-GApps-${variant}"
fi fi
echo "artifact_name=WSA${name1}${name2}_${{ env.WSA_VER }}_${{ matrix.arch }}_${{ env.WSA_REL }}" >> $GITHUB_ENV echo "artifact_name=WSA${name1}${name2}_${{ env.WSA_VER }}_${{ matrix.arch }}_${{ env.WSA_REL }}" >> $GITHUB_ENV