manually build

This commit is contained in:
Wang 2023-09-26 15:47:47 +08:00
parent fdc0e838df
commit efc2158215

View file

@ -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