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: