diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3fdb908dd..363a3db26 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,6 +45,9 @@ jobs: # `KEY_JKS_PASSPHRASE` should contain the passphrase used for the command above # The SkSL bundle must be produced with the same Flutter engine as the one used to build the artifact # flutter build --bundle-sksl-path shaders.sksl.json + # do not bundle shaders for izzy/libre flavours, to avoid crashes in some environments: + # cf https://github.com/deckerst/aves/issues/388 + # cf https://github.com/deckerst/aves/issues/398 run: | echo "${{ secrets.KEY_JKS }}" > release.keystore.asc gpg -d --passphrase "${{ secrets.KEY_JKS_PASSPHRASE }}" --batch release.keystore.asc > $AVES_STORE_FILE @@ -59,10 +62,10 @@ jobs: flutter build apk -t lib/main_huawei.dart --flavor huawei --bundle-sksl-path shaders.sksl.json cp build/app/outputs/apk/huawei/release/*.apk outputs (cd scripts/; ./apply_flavor_izzy.sh) - flutter build apk -t lib/main_izzy.dart --flavor izzy --split-per-abi --bundle-sksl-path shaders.sksl.json + flutter build apk -t lib/main_izzy.dart --flavor izzy --split-per-abi cp build/app/outputs/apk/izzy/release/*.apk outputs (cd scripts/; ./apply_flavor_libre.sh) - flutter build apk -t lib/main_libre.dart --flavor libre --bundle-sksl-path shaders.sksl.json + flutter build apk -t lib/main_libre.dart --flavor libre cp build/app/outputs/apk/libre/release/*.apk outputs rm $AVES_STORE_FILE env: