From f69326195a6f61077aabeab906605b9007f6361e Mon Sep 17 00:00:00 2001 From: HUI Date: Thu, 9 Nov 2023 14:39:55 +0800 Subject: [PATCH] chore: wip --- .github/workflows/build.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a27c11562..0fa409b12 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,15 +29,14 @@ on: jobs: build-jenkins: + if: ${{ inputs.type == 'sdk' || (github.event_name == 'release' && github.event.action == 'published') }} runs-on: ubuntu-latest steps: - name: Build run: | - type=${{inputs.type}} - type=${type:-"sdk"} curl -X POST -sS -D- -o/dev/null ${{secrets.JENKINS_BUILD_URL}} \ -H 'Content-Type: application/json' \ - -d "{\"branch\": \"${{github.ref_name}}\", \"type\": \"${type}\"}" + -d "{\"branch\": \"${{github.ref_name}}\", \"type\": \"sdk\"}" build-windows: if: ${{ inputs.type == 'demo' || contains(github.event.pull_request.labels.*.name, 'ci:dep-update') }}