diff --git a/.github/workflows/build-packages-pr.yaml b/.github/workflows/build-packages-pr.yaml index 1022547..68ceefe 100644 --- a/.github/workflows/build-packages-pr.yaml +++ b/.github/workflows/build-packages-pr.yaml @@ -2,6 +2,7 @@ name: Build packages PR on: pull_request: + types: [ labeled ] paths: - 'packages/**' - 'packages.sh' @@ -14,13 +15,19 @@ concurrency: jobs: lx01: name: LX01 - if: ${{ github.repository == 'duhow/xiaoai-patch' }} + if: contains(github.event.pull_request.labels.*.name, 'LX01') uses: duhow/xiaoai-patch/.github/workflows/build-packages.yaml@master with: model: LX01 lx06: name: LX06 - if: ${{ github.repository == 'duhow/xiaoai-patch' }} + if: contains(github.event.pull_request.labels.*.name, 'LX06') uses: duhow/xiaoai-patch/.github/workflows/build-packages.yaml@master with: model: LX06 + s12: + name: S12 + if: contains(github.event.pull_request.labels.*.name, 'S12') + uses: duhow/xiaoai-patch/.github/workflows/build-packages.yaml@master + with: + model: S12