Merge pull request #135 from rosenbjerg/master

Explicit Release build
This commit is contained in:
Malte Rosenbjerg 2020-12-06 00:53:53 +01:00 committed by GitHub
commit df10f84a9c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 }}