diff --git a/.github/workflows/manually_build.yml b/.github/workflows/manually_build.yml index 24603c73..f34b61fd 100644 --- a/.github/workflows/manually_build.yml +++ b/.github/workflows/manually_build.yml @@ -1,6 +1,10 @@ name: Manually Build on: + pull_request: + branches: [ main ] + paths: + - '.github/workflows/manually_build.yml' workflow_dispatch: inputs: artifact: @@ -49,7 +53,8 @@ on: type: string env: - TAG: ${{ github.event.inputs.tag }} + # TAG: ${{ github.event.inputs.tag }} + TAG: 2.4.0-SNAPSHOT permissions: contents: read @@ -57,7 +62,7 @@ permissions: jobs: 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] steps: - uses: actions/checkout@v3 @@ -85,7 +90,7 @@ jobs: sudo docker rmi -f ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG} 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] steps: - uses: actions/checkout@v3