From 3d1cf2964e3756a97eaa7b6dd8b4afaa9a9da69c Mon Sep 17 00:00:00 2001 From: Yong Jian Ming Date: Sat, 9 Dec 2023 23:57:05 +0800 Subject: [PATCH] Fix deployment script. --- .github/workflows/deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c1a6931..d645f96 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -43,7 +43,8 @@ jobs: - name: Build project run: | $output = Join-Path "${{ github.workspace }}" "${{ env.PROJECT_PUBLISH_ROOT }}" - dotnet pack -c Release -o "${output}" + dotnet publish -c Release -o "${output}" "${{ env.PROJECT_CSPROJ_FILE }}" + dotnet pack -c Release -o "${output}" "${{ env.PROJECT_CSPROJ_FILE }}" - name: Publish project run: |