Skip to content

Commit

Permalink
Workaround flaky SSL connection installing Android SDKs (#3904)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescrosswell authored Jan 20, 2025
1 parent b73a294 commit b22155f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -220,10 +220,17 @@ jobs:
uses: ./.github/actions/buildnative

- name: Install Android SDKs
id: installandroidsdks
continue-on-error: true
if: runner.os == 'macOS'
run: |
dotnet build src/Sentry/Sentry.csproj -t:InstallAndroidDependencies -f:net8.0-android34.0 -p:AcceptAndroidSDKLicenses=True -p:AndroidSdkPath="/usr/local/lib/android/sdk/"
- name: Install Android SDKs (retry)
if: steps.installandroidsdks.outcome=='failure' && runner.os == 'macOS'
run: |
dotnet build src/Sentry/Sentry.csproj -t:InstallAndroidDependencies -f:net8.0-android34.0 -p:AcceptAndroidSDKLicenses=True -p:AndroidSdkPath="/usr/local/lib/android/sdk/"
- name: Publish Test app (macOS)
run: dotnet publish test/Sentry.TrimTest/Sentry.TrimTest.csproj -c Release -r osx-arm64

Expand Down

0 comments on commit b22155f

Please sign in to comment.