Skip to content

Commit bef1ae0

Browse files
fix: SSL issues in CI (#4115)
We no longer need the build steps to install the android sdk that were causing so many problems in CI. Resolves #3915
1 parent 690a169 commit bef1ae0

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,6 @@ jobs:
111111
- name: Restore .NET Dependencies
112112
run: dotnet restore Sentry-CI-Build-${{ runner.os }}.slnf --nologo
113113

114-
- name: Install Android SDKs
115-
if: runner.os == 'macOS'
116-
run: |
117-
dotnet build src/Sentry/Sentry.csproj -t:InstallAndroidDependencies -f:net8.0-android34.0 -p:AcceptAndroidSDKLicenses=True -p:AndroidSdkPath="/usr/local/lib/android/sdk/"
118-
119114
- name: Build
120115
run: dotnet build Sentry-CI-Build-${{ runner.os }}.slnf -c Release --no-restore --nologo -v:minimal -flp:logfile=build.log -p:CopyLocalLockFileAssemblies=true -bl:build.binlog
121116

@@ -225,18 +220,6 @@ jobs:
225220
- name: Build Native Dependencies
226221
uses: ./.github/actions/buildnative
227222

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

0 commit comments

Comments
 (0)