Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
Turtlepaw committed Oct 22, 2024
2 parents 3b498bd + dcbfa37 commit 287c8b4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
channel: stable
- run: flutter pub get
#- run: flutter test
- run: flutter build apk --debug --flavor debugVariant ##--split-per-abi
- run: flutter build apk --debug ##--split-per-abi
- name: Upload APK
uses: actions/upload-artifact@v4
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ jobs:

- name: Build APK
if: ${{ github.event.inputs.buildType == 'apk' }}
run: flutter build apk --flavor ciRelease --release
run: flutter build apk --release
env:
KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
KEY_ALIAS: ${{ secrets.KEY_ALIAS }}
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}

- name: Build AAB
if: ${{ github.event.inputs.buildType == 'aab' }}
run: flutter build appbundle --flavor ciRelease --release
run: flutter build appbundle --release
env:
KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
KEY_ALIAS: ${{ secrets.KEY_ALIAS }}
Expand All @@ -63,5 +63,5 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: AAB
path: build/app/outputs/bundle/ciReleaseRelease/*.aab
path: build/app/outputs/bundle/release/*.aab
compression-level: 0
8 changes: 4 additions & 4 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ android {
release {
if (System.getenv("CI") != null) {
// CI environment, use keystore from environment variables
keyAlias System.getenv("KEY_ALIAS")
keyPassword System.getenv("KEY_PASSWORD")
storeFile file(System.getenv("KEYSTORE_PATH"))
storePassword System.getenv("KEYSTORE_PASSWORD")
storeFile file("keystore.jks")
storePassword System.getenv("KEYSTORE_PASSWORD")
keyAlias System.getenv("KEY_ALIAS")
keyPassword System.getenv("KEY_PASSWORD")
} else {
// Local environment, use key.properties
def keystoreProperties = new Properties()
Expand Down

0 comments on commit 287c8b4

Please sign in to comment.