Skip to content

[WIP] CICD: add github action to release portable exectuable zip #12

[WIP] CICD: add github action to release portable exectuable zip

[WIP] CICD: add github action to release portable exectuable zip #12

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-cli:
runs-on: [self-hosted, llm, windows]
steps:
- uses: actions/checkout@v3
- name: run bat
run: '& cd ./python/llm/portable-zip; ./setup.bat'
shell: powershell
- uses: actions/upload-artifact@v3
with:
name: portable-zip
path: ./python/llm/portable-zip/bigdl-llm.zip
build-zip-gui:
runs-on: [self-hosted, llm, windows]
steps:
- uses: actions/checkout@v3
- name: run bat
run: '& cd ./python/llm/portable-zip; ./setup.bat --ui'
shell: powershell
- uses: actions/upload-artifact@v3
with:
name: portable-zip
path: ./python/llm/portable-zip/bigdl-llm-ui.zip