From 8af4d50d3db9778f786e8e7f4f8cf743eec39cf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?ForDream=E4=B8=B6=E6=A2=A6=E7=A9=BA?= <56014859+Forgot-Dream@users.noreply.github.com> Date: Wed, 28 Feb 2024 19:55:22 +0800 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9c3e42d..42c6512 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -48,15 +48,15 @@ jobs: - name: Restore and build the Wpf application run: ./.github/utils/build.ps1 -SolutionPath ${{ env.solutionPath }} -Configuration ${{ env.Configuration }} -Platform ${{ env.Platform }} -RuntimeIdentifier ${{ env.RuntimeIdentifier }} - - name: Rename file - run: | - mkdir build - Compress-Archive -Path ${{ env.guiProjectDirectory }}\${{ env.appPackagesDirectory }}\app.publish\SduNetCheckTool.GUI.exe -DestinationPath build\${{ env.appPackagesExecutable }} + # - name: Rename file + # run: | + # mkdir build + # Compress-Archive -Path ${{ env.guiProjectDirectory }}\${{ env.appPackagesDirectory }}\app.publish\SduNetCheckTool.GUI.exe -DestinationPath build\${{ env.appPackagesExecutable }} - name: 'Upload Artifact' uses: actions/upload-artifact@v4 with: name: ${{ env.artifactName }} path: | - build/${{ env.appPackagesExecutable }} + ${{ env.guiProjectDirectory }}\${{ env.appPackagesDirectory }} retention-days: 15