Skip to content

Commit

Permalink
Update Media3 workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchangelWTF committed Sep 4, 2023
1 parent b19216f commit cbe5542
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit cbe5542

Please sign in to comment.