manually build
This commit is contained in:
parent
fdc0e838df
commit
efc2158215
1 changed files with 8 additions and 3 deletions
11
.github/workflows/manually_build.yml
vendored
11
.github/workflows/manually_build.yml
vendored
|
|
@ -1,6 +1,10 @@
|
||||||
name: Manually Build
|
name: Manually Build
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches: [ main ]
|
||||||
|
paths:
|
||||||
|
- '.github/workflows/manually_build.yml'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
artifact:
|
artifact:
|
||||||
|
|
@ -49,7 +53,8 @@ on:
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
env:
|
env:
|
||||||
TAG: ${{ github.event.inputs.tag }}
|
# TAG: ${{ github.event.inputs.tag }}
|
||||||
|
TAG: 2.4.0-SNAPSHOT
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
@ -57,7 +62,7 @@ permissions:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
bigdl-llm-xpu:
|
bigdl-llm-xpu:
|
||||||
if: ${{ github.event.inputs.artifact == 'bigdl-llm-xpu' || github.event.inputs.artifact == 'all' }}
|
# if: ${{ github.event.inputs.artifact == 'bigdl-llm-xpu' || github.event.inputs.artifact == 'all' }}
|
||||||
runs-on: [self-hosted, Shire]
|
runs-on: [self-hosted, Shire]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
@ -85,7 +90,7 @@ jobs:
|
||||||
sudo docker rmi -f ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}
|
sudo docker rmi -f ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}
|
||||||
|
|
||||||
bigdl-llm-cpu:
|
bigdl-llm-cpu:
|
||||||
if: ${{ github.event.inputs.artifact == 'bigdl-llm-cpu' || github.event.inputs.artifact == 'all' }}
|
# if: ${{ github.event.inputs.artifact == 'bigdl-llm-cpu' || github.event.inputs.artifact == 'all' }}
|
||||||
runs-on: [self-hosted, Shire]
|
runs-on: [self-hosted, Shire]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue