Skip to content

Commit

Permalink
Fix health-metrics (#12345)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulb777 authored Feb 2, 2024
1 parent 2d3ecf9 commit d603c7b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 13 deletions.
26 changes: 14 additions & 12 deletions .github/workflows/health-metrics-presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
run: scripts/setup_bundler.sh
- name: Build and test
run: ./scripts/health_metrics/pod_test_code_coverage_report.sh --sdk=FirebaseABTesting --platform=${{ matrix.target }}
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v3
with:
name: codecoverage
path: /Users/runner/*.xcresult
Expand All @@ -92,7 +92,7 @@ jobs:
run: scripts/setup_bundler.sh
- name: Build and test
run: ./scripts/health_metrics/pod_test_code_coverage_report.sh --sdk=FirebaseAuth --platform=${{ matrix.target }}
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v3
with:
name: codecoverage
path: /Users/runner/*.xcresult
Expand All @@ -115,7 +115,9 @@ jobs:
run: scripts/setup_bundler.sh
- name: Build and test
run: ./scripts/health_metrics/pod_test_code_coverage_report.sh --sdk=FirebaseDatabase --platform=${{ matrix.target }}
- uses: actions/upload-artifact@v4
# TODO: Make sure that https://github.com/actions/upload-artifact/issues/478 is resolved
# before going to actions/upload-artifact@v4.
- uses: actions/upload-artifact@v3
with:
name: codecoverage
path: /Users/runner/*.xcresult
Expand All @@ -138,7 +140,7 @@ jobs:
run: scripts/setup_bundler.sh
- name: Build and test
run: ./scripts/health_metrics/pod_test_code_coverage_report.sh --sdk=FirebaseDynamicLinks --platform=${{ matrix.target }}
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v3
with:
name: codecoverage
path: /Users/runner/*.xcresult
Expand All @@ -164,7 +166,7 @@ jobs:
run: |
export EXPERIMENTAL_MODE=true
./scripts/health_metrics/pod_test_code_coverage_report.sh --sdk=FirebaseFirestore --platform=${{ matrix.target }}
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v3
with:
name: codecoverage
path: /Users/runner/*.xcresult
Expand All @@ -187,7 +189,7 @@ jobs:
run: scripts/setup_bundler.sh
- name: Build and test
run: ./scripts/health_metrics/pod_test_code_coverage_report.sh --sdk=FirebaseFunctions --platform=${{ matrix.target }}
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v3
with:
name: codecoverage
path: /Users/runner/*.xcresult
Expand All @@ -210,7 +212,7 @@ jobs:
run: scripts/setup_bundler.sh
- name: Build and test
run: ./scripts/health_metrics/pod_test_code_coverage_report.sh --sdk=FirebaseInAppMessaging --platform=${{ matrix.target }}
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v3
with:
name: codecoverage
path: /Users/runner/*.xcresult
Expand All @@ -233,7 +235,7 @@ jobs:
run: scripts/setup_bundler.sh
- name: Build and test
run: ./scripts/health_metrics/pod_test_code_coverage_report.sh --sdk=FirebaseMessaging --platform=${{ matrix.target }}
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v3
with:
name: codecoverage
path: /Users/runner/*.xcresult
Expand All @@ -258,7 +260,7 @@ jobs:
run: gem install xcpretty
- name: Build and test
run: ./scripts/health_metrics/pod_test_code_coverage_report.sh --sdk=FirebasePerformance --platform=${{ matrix.target }}
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v3
with:
name: codecoverage
path: /Users/runner/*.xcresult
Expand All @@ -281,7 +283,7 @@ jobs:
run: scripts/setup_bundler.sh
- name: Build and test
run: ./scripts/health_metrics/pod_test_code_coverage_report.sh --sdk=FirebaseRemoteConfig --platform=${{ matrix.target }}
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v3
with:
name: codecoverage
path: /Users/runner/*.xcresult
Expand All @@ -304,7 +306,7 @@ jobs:
run: scripts/setup_bundler.sh
- name: Build and test
run: ./scripts/health_metrics/pod_test_code_coverage_report.sh --sdk=FirebaseStorage --platform=${{ matrix.target }}
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v3
with:
name: codecoverage
path: /Users/runner/*.xcresult
Expand All @@ -331,7 +333,7 @@ jobs:
scripts/decrypt_gha_secret.sh scripts/gha-encrypted/metrics_service_access.json.gpg \
metrics-access.json "${{ env.METRICS_SERVICE_SECRET }}"
gcloud auth activate-service-account --key-file metrics-access.json
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v3
id: download
with:
path: /Users/runner/test
Expand Down
2 changes: 1 addition & 1 deletion scripts/health_metrics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ pod-lib-lint-newsdk:
run: scripts/setup_bundler.sh
- name: Build and test
run: ./scripts/health_metrics/pod_test_code_coverage_report.sh FirebaseNewSDK "${{ matrix.target }}"
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: codecoverage
path: /Users/runner/*.xcresult
Expand Down

0 comments on commit d603c7b

Please sign in to comment.