Explicit Release build

This commit is contained in:
Malte Rosenbjerg 2020-12-06 00:53:11 +01:00
parent d8a09a3574
commit 45bc6ac635
2 changed files with 6 additions and 4 deletions

View file

@ -14,7 +14,8 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 7 timeout-minutes: 7
steps: steps:
- uses: actions/checkout@v1 - name: Checkout
uses: actions/checkout@v1
- name: Prepare FFMpeg - name: Prepare FFMpeg
run: sudo apt-get update && sudo apt-get install -y ffmpeg run: sudo apt-get update && sudo apt-get install -y ffmpeg
- name: Test with dotnet - name: Test with dotnet

View file

@ -7,9 +7,10 @@ jobs:
release: release:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v1 - name: Checkout
uses: actions/checkout@v1
- name: Build solution - name: Build solution
run: dotnet build --output build run: dotnet build --output build -c Release
- name: Publish NuGet package - name: Publish NuGet package
run: dotnet nuget push "build/*.nupkg" --skip-duplicate --source nuget.org --api-key ${{ secrets.NUGET_TOKEN }} run: dotnet nuget push "build/*.nupkg" --source nuget.org --api-key ${{ secrets.NUGET_TOKEN }}