Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

Commit

Permalink
Terminal Fix PR CI (attempt 4)
Browse files Browse the repository at this point in the history
  • Loading branch information
einsteinx2 committed Aug 14, 2024
1 parent 1442f77 commit 5e93321
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 15 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,20 @@ jobs:
steps:
- name: Git checkout
uses: actions/checkout@v4
- name: Install Mono Framework
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 Xamarin Android Framework
run: |
curl https://download.visualstudio.microsoft.com/download/pr/8cbf56b1-ef0d-466f-8cfe-fae4ba8c5080/e9e853fee3169b1c5128098942f19120/xamarin.android-13.2.2.0.pkg -o /tmp/xamarin.android-13.2.2.0.pkg
sudo installer -pkg /tmp/xamarin.android-13.2.2.0.pkg -target /
- name: Install Xamarin iOS Framework
run: |
curl https://download.visualstudio.microsoft.com/download/pr/ceb0ea3f-4db8-46b4-8dc3-8049d27c0107/3960868aa9b1946a6c77668c3f3334ee/xamarin.ios-16.4.0.23.pkg -o /tmp/xamarin.ios-16.4.0.23.pkg
sudo installer -pkg /tmp/xamarin.ios-16.4.0.23.pkg -target /
- name: Install MAUI workload
run: dotnet workload install maui
- name: Build artifacts
run: ./build.sh
- name: Release to Nuget
Expand Down
30 changes: 15 additions & 15 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,24 @@ msbuild Samples/mParticle.Xamarin.iOS.Sample/mParticle.Xamarin.iOS.Sample.csproj
# .NET MAUI
#

# # Restore packages
# dotnet restore
# Restore packages
dotnet restore

# # Build bindings
# dotnet build Bindings/mParticle.MAUI.AndroidBinding/mParticle.MAUI.AndroidBinding.csproj /p:Configuration=Release /t:Rebuild
# dotnet build Bindings/mParticle.MAUI.iOSBinding/mParticle.MAUI.iOSBinding.csproj /p:Configuration=Release /t:Rebuild
# Build bindings
dotnet build Bindings/mParticle.MAUI.AndroidBinding/mParticle.MAUI.AndroidBinding.csproj /p:Configuration=Release /t:Rebuild
dotnet build Bindings/mParticle.MAUI.iOSBinding/mParticle.MAUI.iOSBinding.csproj /p:Configuration=Release /t:Rebuild

# # Build Libraries
# dotnet build Library/mParticle.MAUI.Abstractions/mParticle.MAUI.Abstractions.csproj /p:Configuration=Release /t:Rebuild
# dotnet build Library/mParticle.MAUI.Android/mParticle.MAUI.Android.csproj /p:Configuration=Release /t:Rebuild
# dotnet build Library/mParticle.MAUI.iOS/mParticle.MAUI.iOS.csproj /p:Configuration=Release /t:Rebuild
# Build Libraries
dotnet build Library/mParticle.MAUI.Abstractions/mParticle.MAUI.Abstractions.csproj /p:Configuration=Release /t:Rebuild
dotnet build Library/mParticle.MAUI.Android/mParticle.MAUI.Android.csproj /p:Configuration=Release /t:Rebuild
dotnet build Library/mParticle.MAUI.iOS/mParticle.MAUI.iOS.csproj /p:Configuration=Release /t:Rebuild

# # Build Sample Apps
# dotnet build Samples/mParticle.MAUI.Android.Sample/mParticle.MAUI.Android.Sample.csproj /p:Configuration=Debug /t:Rebuild
# dotnet build Samples/mParticle.MAUI.iOS.Sample/mParticle.MAUI.iOS.Sample.csproj /p:Configuration=Debug /t:Rebuild
# Build Sample Apps
dotnet build Samples/mParticle.MAUI.Android.Sample/mParticle.MAUI.Android.Sample.csproj /p:Configuration=Debug /t:Rebuild
dotnet build Samples/mParticle.MAUI.iOS.Sample/mParticle.MAUI.iOS.Sample.csproj /p:Configuration=Debug /t:Rebuild


# # Package for nuget
# #
# Package for nuget
#

# nuget pack Library/mparticle.nuspec
nuget pack Library/mparticle.nuspec

0 comments on commit 5e93321

Please sign in to comment.