diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 0358c29..4e6359d 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -2,14 +2,14 @@ name: Dotnet build & publish on: push: - branches: [ develop, main, xamarin ] + branches: [ media3 ] pull_request: - branches: [ develop, xamarin ] + branches: [ media3 ] jobs: build: env: - SOLUTION: 'ExoPlayer.sln' + SOLUTION: 'Media3.sln' runs-on: windows-latest @@ -30,7 +30,7 @@ jobs: - name: Install dependencies run: dotnet restore $SOLUTION - name: Build - run: msbuild $SOLUTION -p:Configuration=Release -p:RestorePackages=false -verbosity:minimal + run: dotnet build --configuration Release - 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