Skip to content

Bump Xamarin.AndroidX.Leanback from 1.0.0.16 to 1.0.0.21 #82

Bump Xamarin.AndroidX.Leanback from 1.0.0.16 to 1.0.0.21

Bump Xamarin.AndroidX.Leanback from 1.0.0.16 to 1.0.0.21 #82

Workflow file for this run

name: Dotnet build & publish
on:
push:
branches: [ develop, main, xamarin ]
pull_request:
branches: [ develop, xamarin ]
jobs:
build:
env:
SOLUTION: 'ExoPlayer.sln'
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup MSBuild
uses: microsoft/[email protected]
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Install dependencies
run: dotnet restore $SOLUTION
- name: Build
run: msbuild $SOLUTION -p:Configuration=Release -p:RestorePackages=false -verbosity:minimal
- name: Publish
if: startsWith(github.ref, 'refs/heads/main')
run: dotnet nuget push artifacts\*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{secrets.PUBLISH_TO_NUGET_ORG}} --skip-duplicate
- name: Publish Xamarin
if: startsWith(github.ref, 'refs/heads/xamarin')
run: dotnet nuget push artifacts\*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{secrets.PUBLISH_TO_NUGET_ORG}} --skip-duplicate