Skip to content

Commit

Permalink
generate gpg sign
Browse files Browse the repository at this point in the history
  • Loading branch information
JinBridger committed Mar 4, 2024
1 parent 9967408 commit 81cd3b8
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/bigdl-build-portable-zip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,23 @@ jobs:
run: |
cd .\python\llm\portable-zip
setup.bat --python-zip
powershell -Command "Expand-Archive .\bigdl-llm.zip -DestinationPath .\bigdl-llm-portable"
- uses: actions/upload-artifact@v4
with:
name: portable-zip
path: ./python/llm/portable-zip/bigdl-llm.zip
name: bigdl-llm-portable
path: ./python/llm/portable-zip/bigdl-llm-portable
generate-gpg-sign:
needs: build-portable-zip
runs-on: [self-hosted, Bree]
steps:
- uses: actions/download-artifact@v4
with:
name: bigdl-llm-portable
- name: Generate GPG Sign
shell: bash
run: |
gpg --armor --detach-sign bigdl-llm-portable.zip
- uses: actions/upload-artifact@v4
with:
name: bigdl-llm-portable-gpg-sign
path: ./bigdl-llm-portable.zip.asc
4 changes: 2 additions & 2 deletions python/llm/portable-zip/setup.bat
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ if "%1"=="--ui" (

:: compress the python and scripts
if "%1"=="--ui" (
powershell -Command "Compress-Archive -Path '.\python-embed', '.\chat-ui.bat', '.\README.md' -DestinationPath .\bigdl-llm-ui.zip"
powershell -Command "Compress-Archive -Path '.\python-embed', '.\kv_cache.py', '.\chat-ui.bat', '.\README.md' -DestinationPath .\bigdl-llm-ui.zip"
) else (
powershell -Command "Compress-Archive -Path '.\python-embed', '.\chat.bat', '.\chat.py', '.\README.md' -DestinationPath .\bigdl-llm.zip"
powershell -Command "Compress-Archive -Path '.\python-embed', '.\kv_cache.py', '.\chat.bat', '.\chat.py', '.\README.md' -DestinationPath .\bigdl-llm.zip"
)

0 comments on commit 81cd3b8

Please sign in to comment.