From 6dc29c4af9310310e14e8be060ed092d75baf9e6 Mon Sep 17 00:00:00 2001 From: Alexey 'Cluster' Avdyukhin Date: Fri, 4 Nov 2022 14:19:36 +0400 Subject: Pipeline fix --- .github/workflows/build.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 654c35e..d6564bf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,7 +5,7 @@ on: push: branches: ["master"] pull_request: - branches: [ master ] + branches: ["master"] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -16,6 +16,7 @@ jobs: env: APP_NAME: nes-containers OUTPUT_DIR: output + CONFIGURATION: Release steps: - name: Checkout uses: actions/checkout@v3 @@ -24,7 +25,9 @@ jobs: with: dotnet-version: 6.0.x - name: Build - run: dotnet pack -o ${{ env.OUTPUT_DIR }} + run: dotnet build -c ${{ env.CONFIGURATION }} + - name: Pack + run: dotnet pack -c ${{ env.CONFIGURATION }} -o ${{ env.OUTPUT_DIR }} - name: Upload artifact uses: actions/upload-artifact@v3 with: -- cgit v1.2.3