From f7ec2b62149a6cb26ec271f1842013c900571c6b Mon Sep 17 00:00:00 2001 From: Ben Baron Date: Wed, 4 Dec 2024 12:54:49 -0500 Subject: [PATCH] Update version to 3.0.0 --- .github/workflows/pull-request.yml | 11 +++++++++-- .github/workflows/release.yml | 9 ++++++++- build.sh | 3 ++- mparticle.nuspec | 10 +++++----- 4 files changed, 24 insertions(+), 9 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index c8c2c9e..2791950 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -5,10 +5,17 @@ on: jobs: Build: - runs-on: macOS-14 + runs-on: macOS-15 steps: - uses: actions/checkout@v4 + - name: Install Android SDK 34 + run: | + yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --install "platforms;android-34" + - name: Install Mono Framework for nuget command + run: | + curl https://download.mono-project.com/archive/6.12.0/macos-10-universal/MonoFramework-MDK-6.12.0.206.macos10.xamarin.universal.pkg -o /tmp/MonoFramework-MDK-6.12.0.206.macos10.xamarin.universal.pkg + sudo installer -pkg /tmp/MonoFramework-MDK-6.12.0.206.macos10.xamarin.universal.pkg -target / - name: Install MAUI workload run: dotnet workload install maui - name: Build artifacts - run: ./build.sh \ No newline at end of file + run: ./build.sh diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1bad879..1cbd214 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,11 +16,18 @@ jobs: release-to-nuget: name: Release and Sync Repos - runs-on: macos-14 + runs-on: macos-15 needs: ['confirm-main-branch'] steps: - name: Git checkout uses: actions/checkout@v4 + - name: Install Android SDK 34 + run: | + yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --install "platforms;android-34" + - name: Install Mono Framework for nuget command + run: | + curl https://download.mono-project.com/archive/6.12.0/macos-10-universal/MonoFramework-MDK-6.12.0.206.macos10.xamarin.universal.pkg -o /tmp/MonoFramework-MDK-6.12.0.206.macos10.xamarin.universal.pkg + sudo installer -pkg /tmp/MonoFramework-MDK-6.12.0.206.macos10.xamarin.universal.pkg -target / - name: Install MAUI workload run: dotnet workload install maui - name: Build artifacts diff --git a/build.sh b/build.sh index 40f5399..88f2de4 100755 --- a/build.sh +++ b/build.sh @@ -1,4 +1,5 @@ #!/bin/bash +set -e # .NET MAUI # @@ -23,4 +24,4 @@ dotnet build Samples/mParticle.MAUI.iOS.Sample/mParticle.MAUI.iOS.Sample.csproj # Package for nuget # -nuget pack mparticle.nuspec \ No newline at end of file +nuget pack mparticle.nuspec diff --git a/mparticle.nuspec b/mparticle.nuspec index 965b8d4..9e54472 100644 --- a/mparticle.nuspec +++ b/mparticle.nuspec @@ -2,7 +2,7 @@ mParticle.MAUI - 2.1.0 + 3.0.0 mParticle .NET MAUI SDK Wasi Haider, Sam Dozor, Will Passidomo, Brandon Stalnaker, mParticle Inc. mParticle Inc. @@ -18,17 +18,17 @@ mparticle, analytics, marketing, maui, android, ios, plugin for maui - - + + - + - +