Skip to content

Commit

Permalink
Merge pull request #87 from qiaoyuang/main
Browse files Browse the repository at this point in the history
Add the emulator-build param into build.yml
  • Loading branch information
qiaoyuang authored Apr 25, 2024
2 parents 2bfb76f + 7969bf3 commit e722624
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ jobs:
target: google_apis
arch: x86_64
profile: pixel_6
emulator-build: 11698152
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: false
Expand All @@ -95,6 +96,7 @@ jobs:
target: google_apis
arch: x86_64
profile: pixel_6
emulator-build: 11698152
force-avd-creation: false
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: true
Expand Down Expand Up @@ -243,6 +245,7 @@ jobs:
target: default
arch: x86_64
profile: pixel_2
emulator-build: 11698152
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: false
Expand All @@ -255,6 +258,7 @@ jobs:
target: default
arch: x86_64
profile: pixel_2
emulator-build: 11698152
force-avd-creation: false
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ internal fun DatabaseConnection.migrateIfNeeded(
) = withTransaction {
val initialVersion = withQuery("PRAGMA user_version;") {
it.next()
it.getInt(0) ?: 0
it.getInt(0)
}
if (initialVersion == 0) {
create(this)
Expand Down

0 comments on commit e722624

Please sign in to comment.