chore(CI): update events that trigger workflows

This commit is contained in:
zhanghongtong 2021-03-03 19:59:26 +08:00 committed by Rory Z
parent f0d42bc6f5
commit ee776c5099
5 changed files with 5 additions and 21 deletions

View File

@ -1,16 +1,14 @@
name: Cross build packages
on:
schedule:
- cron: '0 */6 * * *'
push:
tags:
- v*
release:
types:
- published
pull_request:
workflow_dispatch:
repository_dispatch:
types: [run_actions]
jobs:
windows:
@ -71,8 +69,6 @@ jobs:
mac:
runs-on: macos-10.15
if: startsWith(github.ref, 'refs/tags/')
steps:
- uses: actions/checkout@v1
- name: prepare
@ -203,7 +199,6 @@ jobs:
done
cd -
- name: build emqx packages
if: (matrix.arch == 'amd64' && matrix.emqx == 'emqx') || startsWith(github.ref, 'refs/tags/')
env:
ERL_OTP: erl23.2.2
EMQX: ${{ matrix.emqx }}
@ -246,8 +241,6 @@ jobs:
docker:
runs-on: ubuntu-20.04
if: startsWith(github.ref, 'refs/tags/')
strategy:
matrix:
arch:

View File

@ -5,9 +5,9 @@ on: [pull_request]
jobs:
check_deps_integrity:
runs-on: ubuntu-20.04
container: emqx/build-env:erl23.2.2-ubuntu20.04
steps:
- uses: actions/checkout@v2
- name: Run check-deps-integrity.escript
run: |
docker run --rm -v "$(pwd):/emqx" emqx/build-env:erl23.2.2-ubuntu20.04 sh -c 'cd /emqx && ./scripts/check-deps-integrity.escript'
run: ./scripts/check-deps-integrity.escript

View File

@ -8,9 +8,6 @@ on:
types:
- published
pull_request:
workflow_dispatch:
repository_dispatch:
types: [run_actions]
jobs:
ldap:

View File

@ -8,9 +8,6 @@ on:
types:
- published
pull_request:
workflow_dispatch:
repository_dispatch:
types: [run_actions]
jobs:
docker_test:

View File

@ -8,9 +8,6 @@ on:
types:
- published
pull_request:
workflow_dispatch:
repository_dispatch:
types: [run_actions]
jobs:
run_test_case: