From e60e04a89a77c5ebee35978044c51bf2841aaa80 Mon Sep 17 00:00:00 2001 From: jinbridge <2635480475@qq.com> Date: Mon, 9 Oct 2023 19:03:56 +0800 Subject: [PATCH] CICD: refactor release zip yaml --- .../bigdl-release-portable-executable-zip.yml | 24 +++++++++++++++++++ .github/workflows/manually-release-zip.yml | 14 ----------- 2 files changed, 24 insertions(+), 14 deletions(-) create mode 100644 .github/workflows/bigdl-release-portable-executable-zip.yml delete mode 100644 .github/workflows/manually-release-zip.yml diff --git a/.github/workflows/bigdl-release-portable-executable-zip.yml b/.github/workflows/bigdl-release-portable-executable-zip.yml new file mode 100644 index 00000000000..7a8d37f3850 --- /dev/null +++ b/.github/workflows/bigdl-release-portable-executable-zip.yml @@ -0,0 +1,24 @@ +name: BigDL Release Portable Executable Zip + +on: + push: + branches: [main] + paths: + - ".github/workflows/bigdl-release-portable-executable-zip.yml" + - "python/llm/portable-executable/**" + pull_request: + branches: [main] + paths: + - ".github/workflows/bigdl-release-portable-executable-zip.yml" + - "python/llm/portable-executable/**" + workflow_dispatch: + +jobs: + build-zip: + runs-on: [self-hosted, llm, windows] + + steps: + - uses: actions/checkout@v3 + - name: run bat + run: ./python/llm/portable-executable/setup.bat + shell: pwsh diff --git a/.github/workflows/manually-release-zip.yml b/.github/workflows/manually-release-zip.yml deleted file mode 100644 index 0f60954a0b8..00000000000 --- a/.github/workflows/manually-release-zip.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: Manually Release Portable Executable Zip - -on: - workflow_dispatch: - -jobs: - build-zip: - runs-on: [self-hosted, windows] - - steps: - - uses: actions/checkout@v3 - - name: run bat - run: ./python/llm/portable-executable/setup.bat - shell: pwsh