Explicit Release build

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

View file

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

View file

@ -7,9 +7,10 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Checkout
uses: actions/checkout@v1
- name: Build solution
run: dotnet build --output build
run: dotnet build --output build -c Release
- 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 }}