From 2fe5498be05c5fa38c4d98a271675358c3e49583 Mon Sep 17 00:00:00 2001 From: dllewellyn Date: Sun, 24 Sep 2023 09:45:45 +0100 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 60 +------------------------------------ 1 file changed, 1 insertion(+), 59 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 20d99c1f..b34c042e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,67 +22,9 @@ jobs: - uses: actions/checkout@v2 - name: Build plugin run: ./gradlew :safeToRunBuilder:shadowJar --no-daemon - - name: Build InputValidation - run: ./gradlew :safeToRunInternal:build - - name: Build Logger - run: ./gradlew :safeToRunLogger:build - - name: Build InputValidation - run: ./gradlew :safeToRunInputValidation:build - - name: Build Core - run: ./gradlew :safeToRunCore:build - name: Run build run: ./gradlew build assembleDebug assembleDebugAndroidTest --no-daemon env: SERVER_URL: 'http://example.com' API_KEY: 'apikey' - - name: Upload Android Test APK - uses: actions/upload-artifact@v1 - with: - name: app-debug-androidTest - path: app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk - - name: Upload app APK - uses: actions/upload-artifact@v1 - with: - name: app-debug - path: app/build/outputs/apk/debug/app-debug.apk - - name: Upload Android Test APK (Pin screen) - uses: actions/upload-artifact@v1 - with: - name: app-debug-androidTest-pin - path: safetorunpinscreen/build/outputs/apk/androidTest/debug/safetorunpinscreen-debug-androidTest.apk - - name: Upload app APK (Pin screen) - uses: actions/upload-artifact@v1 - with: - name: app-debug-pin - path: app/build/outputs/apk/debug/app-debug.apk - - firebaseTest: - runs-on: ubuntu-latest - needs: build - steps: - - uses: actions/checkout@v2 - - name: Download app APK - uses: actions/download-artifact@v1 - with: - name: app-debug - - - name: Download Android test APK - uses: actions/download-artifact@v1 - with: - name: app-debug-androidTest - - - name: Login to Google Cloud - uses: google-github-actions/setup-gcloud@v0 - with: - service_account_key: ${{ secrets.GCLOUD_AUTH }} - - name: print secrets - run: | - echo $AUTH_KEY >> google-service-key.json - shell: bash - env: - AUTH_KEY : ${{secrets.GCLOUD_AUTH}} - - name: Set project id - run: gcloud config set project ${{ secrets.FIREBASE_PROJECT_ID }} - - - name: Run Instrumentation Tests in Firebase Test Lab - run: gcloud firebase test android run --type instrumentation --app app-debug/app-debug.apk --test app-debug-androidTest/app-debug-androidTest.apk --device-ids=redfin,star2lte,judypn --os-version-ids=28,29,30 + \ No newline at end of file