updated shaders with Flutter v1.20.2
This commit is contained in:
parent
e8afa4b185
commit
508a356dc7
3 changed files with 5 additions and 3 deletions
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
|
@ -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
|
@ -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]));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue