From 6dcec040ee5cce3cc26c9d578785d3a769c94035 Mon Sep 17 00:00:00 2001 From: "firedcto@gmail.com" Date: Fri, 20 Sep 2024 23:07:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=89=93=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4fa4598..85d4f7b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,21 +43,21 @@ jobs: python -m ok.update.package_launcher ${{ steps.tagName.outputs.tag }} python -m ok.update.gen_md5 .\dist - Move-Item -Path "dist" -Destination "ok-ww" + Copy-Item -Path "dist" -Destination "ok-ww" -Recurse 7z a -t7z -r "ok-ww-release-${{ steps.tagName.outputs.tag }}.7z" "ok-ww" 7z a -tzip -r "ok-ww-${{ steps.tagName.outputs.tag }}.zip" "ok-ww" Remove-Item -Path "ok-ww" -Recurse -Force - python -m ok.update.package_full_with_profile ${{ steps.tagName.outputs.tag }} 0 - python -m ok.update.gen_md5 .\dist - Move-Item -Path "dist" -Destination "ok-ww" - 7z a -t7z -r "ok-ww-Nvidia-GPU-full-${{ steps.tagName.outputs.tag }}.7z" "ok-ww" - Remove-Item -Path "ok-ww" -Recurse -Force - python -m ok.update.package_full_with_profile ${{ steps.tagName.outputs.tag }} 1 python -m ok.update.gen_md5 .\dist - Move-Item -Path "dist" -Destination "ok-ww" + Copy-Item -Path "dist" -Destination "ok-ww" -Recurse 7z a -t7z -r "ok-ww-CPU-full-${{ steps.tagName.outputs.tag }}.7z" "ok-ww" + + python -m ok.update.package_full_with_profile ${{ steps.tagName.outputs.tag }} 0 + python -m ok.update.gen_md5 .\dist + Copy-Item -Path "dist" -Destination "ok-ww" -Recurse + 7z a -t7z -r "ok-ww-Nvidia-GPU-full-${{ steps.tagName.outputs.tag }}.7z" "ok-ww" + Remove-Item -Path "ok-ww" -Recurse -Force shell: pwsh