diff options
author | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2022-11-04 13:19:36 +0300 |
---|---|---|
committer | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2022-11-04 13:19:36 +0300 |
commit | 6dc29c4af9310310e14e8be060ed092d75baf9e6 (patch) | |
tree | 9a4864e39fe3850dd2cf79f9b7c54065880fdd47 | |
parent | ca4ec4db4716e4eff4db08dbdf712e701d5348e9 (diff) |
Pipeline fix
-rw-r--r-- | .github/workflows/build.yml | 7 |
1 files 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: |