From 89343875ba16d15fcbb16aea70754de16a87257b Mon Sep 17 00:00:00 2001 From: nonight <378099757@qq.com> Date: Fri, 1 Nov 2024 16:23:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20ci?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/yakit-ce.yml | 9 +++++---- .github/workflows/yakit-ee.yml | 9 +++++---- .github/workflows/yakit-se.yml | 9 +++++---- 3 files changed, 15 insertions(+), 12 deletions(-) diff --git a/.github/workflows/yakit-ce.yml b/.github/workflows/yakit-ce.yml index c64b852a01..2e29009e86 100644 --- a/.github/workflows/yakit-ce.yml +++ b/.github/workflows/yakit-ce.yml @@ -123,6 +123,11 @@ jobs: working-directory: ./ name: "Install Legacy Electron" + - name: "Download Yak Legacy Engine via wget(Windows)" + if: ${{ env.IS_TAG_RELEASE == 'tag/v' || env.COMPATIBILITY_MODE == 'legacy' }} + id: download-windows-leagacy-engine + run: rm ./bins/yak_windows_amd64.zip && wget -O bins/yak_windows_amd64.exe https://yaklang.oss-accelerate.aliyuncs.com/yak/latest/yak_windows_legacy_amd64.exe && zip ./bins/yak_windows_amd64.zip ./bins/yak_windows_amd64.exe && rm ./bins/yak_windows_amd64.exe + - name: Build Yakit Legacy (MultiPlatform) if: ${{ env.IS_TAG_RELEASE == 'tag/v' || (env.PACKAGING_PLATFORM == 'mwl' && env.COMPATIBILITY_MODE == 'legacy') }} env: @@ -142,10 +147,6 @@ jobs: working-directory: ./ run: yarn pack-linux-legacy - - name: "Download Yak Legacy Engine via wget(Windows)" - if: ${{ env.IS_TAG_RELEASE != 'tag/v' && env.PACKAGING_PLATFORM == 'win' && env.COMPATIBILITY_MODE == 'legacy' }} - id: download-windows-leagacy-engine - run: rm ./bins/yak_windows_amd64.zip && wget -O bins/yak_windows_amd64.exe https://yaklang.oss-accelerate.aliyuncs.com/yak/latest/yak_windows_legacy_amd64.exe && zip ./bins/yak_windows_amd64.zip ./bins/yak_windows_amd64.exe && rm ./bins/yak_windows_amd64.exe - name: Build Yakit Legacy (WIN) if: ${{ env.IS_TAG_RELEASE != 'tag/v' && env.PACKAGING_PLATFORM == 'win' && env.COMPATIBILITY_MODE == 'legacy' }} env: diff --git a/.github/workflows/yakit-ee.yml b/.github/workflows/yakit-ee.yml index f9799510be..e2190564d6 100644 --- a/.github/workflows/yakit-ee.yml +++ b/.github/workflows/yakit-ee.yml @@ -128,6 +128,11 @@ jobs: working-directory: ./ name: "Install Legacy Electron" + - name: "Download Yak Legacy Engine via wget(Windows)" + if: ${{ env.IS_TAG_RELEASE == 'tag/v' || env.COMPATIBILITY_MODE == 'legacy' }} + id: download-windows-leagacy-engine + run: rm ./bins/yak_windows_amd64.zip && wget -O bins/yak_windows_amd64.exe https://yaklang.oss-accelerate.aliyuncs.com/yak/latest/yak_windows_legacy_amd64.exe && zip ./bins/yak_windows_amd64.zip ./bins/yak_windows_amd64.exe && rm ./bins/yak_windows_amd64.exe + - name: Build EE Yakit Legacy (MultiPlatform) if: ${{ env.IS_TAG_RELEASE == 'tag/v' || (env.PACKAGING_PLATFORM == 'mwl' && env.COMPATIBILITY_MODE == 'legacy') }} env: @@ -147,10 +152,6 @@ jobs: working-directory: ./ run: yarn pack-linux-ee-legacy - - name: "Download Yak Legacy Engine via wget(Windows)" - if: ${{ env.IS_TAG_RELEASE == 'tag/v' || env.PACKAGING_PLATFORM == 'mwl' || env.PACKAGING_PLATFORM == 'win' }} - id: download-windows-leagacy-engine - run: rm ./bins/yak_windows_amd64.zip && wget -O bins/yak_windows_amd64.exe https://yaklang.oss-accelerate.aliyuncs.com/yak/latest/yak_windows_legacy_amd64.exe && zip ./bins/yak_windows_amd64.zip ./bins/yak_windows_amd64.exe && rm ./bins/yak_windows_amd64.exe - name: Build EE Yakit Legacy (WIN) if: ${{ env.IS_TAG_RELEASE != 'tag/v' && env.PACKAGING_PLATFORM == 'win' && env.COMPATIBILITY_MODE == 'legacy' }} env: diff --git a/.github/workflows/yakit-se.yml b/.github/workflows/yakit-se.yml index bbef9f14ae..c2bb098848 100644 --- a/.github/workflows/yakit-se.yml +++ b/.github/workflows/yakit-se.yml @@ -126,6 +126,11 @@ jobs: working-directory: ./ name: "Install Legacy Electron" + - name: "Download Yak Legacy Engine via wget(Windows)" + if: ${{ env.PACKAGING_PLATFORM == 'mwl' && env.COMPATIBILITY_MODE == 'legacy' }} + id: download-windows-leagacy-engine + run: rm ./bins/yak_windows_amd64.zip && wget -O bins/yak_windows_amd64.exe https://yaklang.oss-accelerate.aliyuncs.com/yak/latest/yak_windows_legacy_amd64.exe && zip ./bins/yak_windows_amd64.zip ./bins/yak_windows_amd64.exe && rm ./bins/yak_windows_amd64.exe + - name: Build SE Yakit Legacy (MultiPlatform) if: ${{ env.PACKAGING_PLATFORM == 'mwl' && env.COMPATIBILITY_MODE == 'legacy' }} env: @@ -145,10 +150,6 @@ jobs: working-directory: ./ run: yarn pack-linux-se-legacy - - name: "Download Yak Legacy Engine via wget(Windows)" - if: ${{ env.PACKAGING_PLATFORM == 'mwl' || env.PACKAGING_PLATFORM == 'win' }} - id: download-windows-leagacy-engine - run: rm ./bins/yak_windows_amd64.zip && wget -O bins/yak_windows_amd64.exe https://yaklang.oss-accelerate.aliyuncs.com/yak/latest/yak_windows_legacy_amd64.exe && zip ./bins/yak_windows_amd64.zip ./bins/yak_windows_amd64.exe && rm ./bins/yak_windows_amd64.exe - name: Build SE Yakit Legacy (WIN) if: ${{ env.PACKAGING_PLATFORM == 'win' && env.COMPATIBILITY_MODE == 'legacy' }} env: