From 94d93fa5fe9220a61f6fb27b3d34bfa294e2488e Mon Sep 17 00:00:00 2001 From: Malte Rosenbjerg Date: Sun, 6 Dec 2020 00:53:11 +0100 Subject: [PATCH] Explicit Release build Former-commit-id: 45bc6ac635c495961a7fbb4187178daf8e294d16 --- .github/workflows/ci.yml | 3 ++- .github/workflows/release.yml | 7 ++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c20f9f1..e11dab5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7bb80ce..4a05c8d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }}