Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
martijn00 authored Sep 2, 2022
1 parent 73fb067 commit 5bac796
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,15 @@ on:
jobs:
build:

env:
BUILD_CONFIG: 'Release'
SOLUTION: 'ExoPlayer.sln'

runs-on: windows-latest

steps:
- uses: actions/checkout@v3

- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
Expand All @@ -22,7 +27,10 @@ jobs:
run: dotnet workload install maui

- name: Restore dependencies
run: dotnet restore
run: dotnet restore $SOLUTION

- name: Build
run: dotnet build --no-restore
run: dotnet build $SOLUTION --configuration $BUILD_CONFIG --no-restore

- name: Package nuget
run: dotnet pack $SOLUTION --configuration release -o:package

0 comments on commit 5bac796

Please sign in to comment.