Skip to content

Commit

Permalink
Switch to debug keys for ci and remove artifact upload
Browse files Browse the repository at this point in the history
debug artifacts are too big and artifacts dont have a way to be deleted for now
  • Loading branch information
kriticalflare committed Jan 3, 2020
1 parent 708f0ad commit 76f1899
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,4 @@ jobs:
flutter-version: '1.12.13+hotfix.5'
- run: flutter pub get
- run: flutter packages pub run build_runner build --delete-conflicting-outputs
- run: flutter build apk --target-platform android-arm64 --release
- uses: actions/upload-artifact@master
with:
name: SIESLibrary-${{ github.sha }}
path: build/app/outputs/apk/release/app-release.apk
- run: flutter build apk --target-platform android-arm64 --debug
9 changes: 1 addition & 8 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,10 @@ android {
storeFile file(keystoreProperties['storeFile'])
storePassword keystoreProperties['storePassword']
}
debug {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile file(keystoreProperties['storeFile'])
storePassword keystoreProperties['storePassword']
}
}

buildTypes {
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.release
minifyEnabled true
useProguard true
Expand All @@ -80,6 +72,7 @@ android {
}

debug {
// signingConfig signingConfigs.release
signingConfig signingConfigs.debug
}
}
Expand Down

0 comments on commit 76f1899

Please sign in to comment.