Bump Sentry .NET 4.5.0 #436
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
tags: | |
- 'v*.*.*' | |
branches: | |
- main | |
- release/* | |
pull_request: | |
jobs: | |
build: | |
name: ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [windows-latest, macos-13] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: microsoft/setup-msbuild@v1.1 | |
if: startsWith(matrix.os, 'windows') | |
# By default, the latest Windows machine doesn't come with the 16299 SDK installed, | |
# which is required for building the UWP platform. | |
- name: Install Windows SDK Version 10.0.16299.0 | |
run: | |
pwsh ./scripts/install-win-sdk.ps1 16299 | |
if: startsWith(matrix.os, 'windows') | |
# Setup Xamarin SDK that got removed on the latest MacOS VM | |
- name: Setup Xamarin MacOS SDK | |
if: startsWith(matrix.os, 'macos') | |
run: | | |
brew tap homebrew/cask-versions | |
brew install --cask xamarin-mac | |
- name: Setup Xamarin Android SDK | |
if: startsWith(matrix.os, 'macos') | |
run: brew install --cask xamarin-android | |
- name: Setup Xamarin iOS SDK | |
if: startsWith(matrix.os, 'macos') | |
run: brew install --cask xamarin-ios | |
- name: Setup Java SDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Setup Android SDK | |
uses: android-actions/setup-android@07976c6290703d34c16d382cb36445f98bb43b1f # v3.2.0 | |
with: | |
packages: 'platforms;android-30' | |
- run: msbuild Sentry.Xamarin.sln -p:Configuration=Release -t:restore | |
- name: Build SDK, Sample and Tests | |
run: msbuild Sentry.Xamarin-CI-Build-${{ runner.os }}.slnf -p:Configuration=Release | |
- name: Setup VS Test | |
uses: darenm/Setup-VSTest@v1 | |
if: startsWith(matrix.os, 'windows') | |
- name: Artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.sha }} | |
path: | | |
${{ github.workspace }}/src/**/Release/*.nupkg |