Skip to content

Commit 2d9d956

Browse files
authored
ci: fix CI pipeline failures (#35)
1 parent 7ec2d5c commit 2d9d956

File tree

5 files changed

+198
-264
lines changed

5 files changed

+198
-264
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,23 @@ on:
1313

1414
jobs:
1515
android:
16-
runs-on: macos-latest
16+
runs-on: ubuntu-latest
1717
timeout-minutes: 30
1818
steps:
1919

2020
- name: "Git Checkout"
2121
uses: actions/checkout@v2
2222

23+
- name: Enable KVM
24+
run: |
25+
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
26+
sudo udevadm control --reload-rules
27+
sudo udevadm trigger --name-match=kvm
28+
2329
- name: "Install Node"
2430
uses: actions/setup-node@v2
2531
with:
26-
node-version: '16'
32+
node-version: '20'
2733

2834
- uses: actions/setup-java@v2
2935
name: "Install Java"
@@ -50,8 +56,9 @@ jobs:
5056
with:
5157
api-level: 28
5258
arch: x86_64
59+
disable-animations: true
5360
# Firebase Firestore works without Google Play Services, so we don't use the `googleapis`
5461
# emulator target as it's considerably slower on CI.
5562
target: default
5663
profile: Nexus 5X
57-
script: sh ./.github/workflows/scripts/drive-app.sh firebase_snippets_app
64+
script: bash ./.github/workflows/scripts/drive-app.sh firebase_snippets_app

packages/firebase_snippets_app/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ android {
4444

4545
defaultConfig {
4646
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
47-
applicationId "com.example.firestore_snippets"
47+
applicationId "com.example.firebase_snippets_app"
4848
minSdkVersion 21
4949
targetSdkVersion flutter.targetSdkVersion
5050
versionCode flutterVersionCode.toInteger()

packages/firebase_snippets_app/android/app/google-services.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"client_info": {
1010
"mobilesdk_app_id": "1:220375889386:android:1a16e85eeab0d5896bae93",
1111
"android_client_info": {
12-
"package_name": "com.example.firestore_snippets"
12+
"package_name": "com.example.firebase_snippets_app"
1313
}
1414
},
1515
"oauth_client": [

0 commit comments

Comments
 (0)