updated shaders with Flutter v1.20.2

This commit is contained in:
Thibault Deckers 2020-08-21 12:09:54 +09:00
parent e8afa4b185
commit 508a356dc7
3 changed files with 5 additions and 3 deletions

View file

@ -43,14 +43,15 @@ jobs:
# `KEY_JKS` should contain the result of:
# gpg -c --armor keystore.jks
# `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 <subcommand> --bundle-sksl-path shaders.sksl.json
run: |
echo "${{ secrets.KEY_JKS }}" > release.keystore.asc
gpg -d --passphrase "${{ secrets.KEY_JKS_PASSPHRASE }}" --batch release.keystore.asc > $AVES_STORE_FILE
rm release.keystore.asc
flutter build apk
flutter build appbundle
flutter build apk --bundle-sksl-path shaders.sksl.json
flutter build appbundle --bundle-sksl-path shaders.sksl.json
rm $AVES_STORE_FILE
env:
AVES_STORE_FILE: ${{ github.workspace }}/key.jks

File diff suppressed because one or more lines are too long

View file

@ -37,6 +37,7 @@ Future<void> copyContent(String sourceDir, String targetDir) async {
await runAdb(['push', sourceDir, targetDir]);
}
// only works in debug mode
Future<void> grantPermissions(String packageName, Iterable<String> permissions) async {
await Future.forEach(permissions, (permission) => runAdb(['shell', 'pm', 'grant', packageName, permission]));
}