Skip to content

Commit

Permalink
fix: Fix cross platforms for Android forked PRs when checking out code (
Browse files Browse the repository at this point in the history
  • Loading branch information
mchuangatmp authored Jan 12, 2022
1 parent 7fc0217 commit 90b2760
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/cross-platform-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ jobs:
timeout-minutes: 30
runs-on: macos-11
steps:
- name: "Checkout cross platform test"
- name: "Checkout Cross Platform Tests Repo"
uses: actions/checkout@v2
with:
token: ${{ secrets.ANDROID_GITHUB_PAT }} #medium-term solution, this needs to be an MParticle/non-personal PAT
repository: mParticle/crossplatform-sdk-tests
- name: "Checkout internal"
- name: "Checkout Android SDK Branch"
uses: actions/checkout@v2
with:
repository: ${{github.event.pull_request.head.repo.full_name}}
ref: ${{github.head_ref}}
path: .sdks/android
- name: "Install JDK 11"
Expand All @@ -30,5 +31,5 @@ jobs:
if: ${{ always() }}
uses: actions/upload-artifact@v2
with:
name: test-results
name: "test-results"
path: Tests/build/reports/androidTests/connected/**

0 comments on commit 90b2760

Please sign in to comment.