Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/tuyanet.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/build.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 1297a43..d2022ff 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -16,6 +16,7 @@ jobs:
env:
APP_NAME: TuyaNet
OUTPUT_DIR: output
+ CONFIGURATION: Release
steps:
- name: Checkout
uses: actions/checkout@v3
@@ -24,9 +25,9 @@ jobs:
with:
dotnet-version: 6.0.x
- name: Build
- run: dotnet build -c Release
+ run: dotnet build -c ${{ env.CONFIGURATION }}
- name: Pack
- run: dotnet pack -c Release -o ${{ env.OUTPUT_DIR }}
+ run: dotnet pack -c ${{ env.CONFIGURATION }} -o ${{ env.OUTPUT_DIR }}
- name: Upload artifact
uses: actions/upload-artifact@v3
with: