From e582ab20ad8e48ca43b1861303922e9871503300 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=B1=B3?= Date: Sun, 9 Jun 2024 17:06:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbuild=E8=B7=AF=E5=BE=84?= =?UTF-8?q?=E9=87=8D=E5=A4=8D=E5=AF=BC=E8=87=B4actions=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/DDTV_Dev.yml | 14 +++++++------- .github/workflows/DDTV_Release.yml | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/DDTV_Dev.yml b/.github/workflows/DDTV_Dev.yml index 35fb92b9a..5f0814093 100644 --- a/.github/workflows/DDTV_Dev.yml +++ b/.github/workflows/DDTV_Dev.yml @@ -125,12 +125,12 @@ jobs: run: cd Server && dotnet publish --runtime ${{ matrix.runtime }} --configuration Release --self-contained true --output build_output - name: Build Update - run: cd Update && dotnet publish --runtime ${{ matrix.runtime }} --configuration Release --self-contained true --output build_output + run: cd Update && dotnet publish --runtime ${{ matrix.runtime }} --configuration Release --self-contained true --output build_update_output - name: Move Update (Linux or macOS) if: runner.os != 'Windows' run: | - source="Update/build_output/*" + source="Update/build_update_output/*" destination="Server/build_output/Update" mkdir -p $destination @@ -140,7 +140,7 @@ jobs: if: runner.os == 'Windows' shell: pwsh run: | - $source = "Update/build_output/*" + $source = "Update/build_update_output/*" $destination = "Server/build_output/Update" New-Item -ItemType Directory -Force -Path $destination @@ -285,13 +285,13 @@ jobs: run: cd Desktop && dotnet publish --runtime ${{ matrix.runtime }} --configuration Release --self-contained true --output build_output - name: Build Update - run: cd Update && dotnet publish --runtime ${{ matrix.runtime }} --configuration Release --self-contained true --output build_output + run: cd Update && dotnet publish --runtime ${{ matrix.runtime }} --configuration Release --self-contained true --output build_update_output - name: Move Update (Windows) if: runner.os == 'Windows' shell: pwsh run: | - $source = "Update/build_output/*" + $source = "Update/build_update_output/*" $destination = "Desktop/build_output/Update" New-Item -ItemType Directory -Force -Path $destination @@ -402,13 +402,13 @@ jobs: run: cd Client && dotnet publish --runtime ${{ matrix.runtime }} --configuration Release --self-contained true --output build_output - name: Build Update - run: cd Update && dotnet publish --runtime ${{ matrix.runtime }} --configuration Release --self-contained true --output build_output + run: cd Update && dotnet publish --runtime ${{ matrix.runtime }} --configuration Release --self-contained true --output build_update_output - name: Move Update (Windows) if: runner.os == 'Windows' shell: pwsh run: | - $source = "Update/build_output/*" + $source = "Update/build_update_output/*" $destination = "Client/build_output/Update" New-Item -ItemType Directory -Force -Path $destination diff --git a/.github/workflows/DDTV_Release.yml b/.github/workflows/DDTV_Release.yml index 1c321ba58..bd2f159b0 100644 --- a/.github/workflows/DDTV_Release.yml +++ b/.github/workflows/DDTV_Release.yml @@ -125,12 +125,12 @@ jobs: run: cd Server && dotnet publish --runtime ${{ matrix.runtime }} --configuration Release --self-contained true --output build_output - name: Build Update - run: cd Update && dotnet publish --runtime ${{ matrix.runtime }} --configuration Release --self-contained true --output build_output + run: cd Update && dotnet publish --runtime ${{ matrix.runtime }} --configuration Release --self-contained true --output build_update_output - name: Move Update (Linux or macOS) if: runner.os != 'Windows' run: | - source="Update/build_output/*" + source="Update/build_update_output/*" destination="Server/build_output/Update" mkdir -p $destination @@ -140,7 +140,7 @@ jobs: if: runner.os == 'Windows' shell: pwsh run: | - $source = "Update/build_output/*" + $source = "Update/build_update_output/*" $destination = "Server/build_output/Update" New-Item -ItemType Directory -Force -Path $destination @@ -285,13 +285,13 @@ jobs: run: cd Desktop && dotnet publish --runtime ${{ matrix.runtime }} --configuration Release --self-contained true --output build_output - name: Build Update - run: cd Update && dotnet publish --runtime ${{ matrix.runtime }} --configuration Release --self-contained true --output build_output + run: cd Update && dotnet publish --runtime ${{ matrix.runtime }} --configuration Release --self-contained true --output build_update_output - name: Move Update (Windows) if: runner.os == 'Windows' shell: pwsh run: | - $source = "Update/build_output/*" + $source = "Update/build_update_output/*" $destination = "Desktop/build_output/Update" New-Item -ItemType Directory -Force -Path $destination @@ -402,13 +402,13 @@ jobs: run: cd Client && dotnet publish --runtime ${{ matrix.runtime }} --configuration Release --self-contained true --output build_output - name: Build Update - run: cd Update && dotnet publish --runtime ${{ matrix.runtime }} --configuration Release --self-contained true --output build_output + run: cd Update && dotnet publish --runtime ${{ matrix.runtime }} --configuration Release --self-contained true --output build_update_output - name: Move Update (Windows) if: runner.os == 'Windows' shell: pwsh run: | - $source = "Update/build_output/*" + $source = "Update/build_update_output/*" $destination = "Client/build_output/Update" New-Item -ItemType Directory -Force -Path $destination