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

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonStalnaker committed Aug 12, 2024
1 parent 9a0628b commit 0647a3c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 16 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,28 @@ on:

jobs:
Build:
runs-on: macos-10.15
runs-on: macOS-13
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Build artifacts
run: ./build.sh

Android:
runs-on: macos-10.15
runs-on: macos-13
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Android
run: |
nuget restore
dotnet restore
cd Samples/mParticle.Xamarin.Android.Sample
msbuild
dotnet build
iOS:
runs-on: macos-10.15
runs-on: macos-13
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: iOS
run: |
nuget restore
dotnet restore
cd Samples/mParticle.Xamarin.iOS.Sample
msbuild
dotnet build
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Branch name
run: |
BRANCHNAME=${GITHUB_REF##*/}
Expand All @@ -29,11 +29,11 @@ jobs:
release-to-nuget:
name: Release and Sync Repos
runs-on: macos-10.15
runs-on: macos-13
needs: ['confirm-master-branch']
steps:
- name: Git checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Build artifacts
run: ./build.sh
- name: Release to Nuget
Expand Down
4 changes: 1 addition & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ msbuild Library/mParticle.Xamarin.Abstractions/mParticle.Xamarin.Abstractions.cs
msbuild Library/mParticle.Xamarin.Android/mParticle.Xamarin.Android.csproj /p:Configuration=Release /t:Rebuild
msbuild Library/mParticle.Xamarin.iOS/mParticle.Xamarin.iOS.csproj /p:Configuration=Release /t:Rebuild

msbuild Bindings/mParticle.MAUI.iOSBinding/mParticle.MAUI.iOSBinding.csproj /p:Configuration=Release /t:Rebuild
msbuild Library/mParticle.MAUI.Abstractions/mParticle.MAUI.Abstractions.csproj /p:Configuration=Release /t:Rebuild
msbuild Library/mParticle.MAUI.iOS/mParticle.MAUI.iOS.csproj /p:Configuration=Release /t:Rebuild


msbuild Samples/mParticle.Xamarin.Android.Sample/mParticle.Xamarin.Android.Sample.csproj /p:Configuration=Debug /t:Rebuild
msbuild Samples/mParticle.Xamarin.Forms.Sample.Droid/mParticle.Xamarin.Forms.Sample.Droid.csproj /p:Configuration=Debug /t:Rebuild
Expand Down

0 comments on commit 0647a3c

Please sign in to comment.