Skip to content

Commit

Permalink
perf(ci): optimize part of CI and trigger on PR close
Browse files Browse the repository at this point in the history
  • Loading branch information
minhanghuang committed Jun 17, 2024
1 parent 2e12ba9 commit e11241a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ubuntu20-arrch64-v9.0.0-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@ on:
pull_request:
branches:
- v9.0.0
types:
- closed

jobs:
build-arm-ubuntu20:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ubuntu20-v9.0.0-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@ on:
pull_request:
branches:
- v9.0.0
types:
- closed


jobs:
build-amd-ubuntu20:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
container:
image: docker://ubuntu:20.04
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ubuntu22-arrch64-v9.0.0-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@ on:
pull_request:
branches:
- v9.0.0
types:
- closed

jobs:
build-arm-ubuntu22:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ubuntu22-v9.0.0-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@ on:
pull_request:
branches:
- v9.0.0
types:
- closed

jobs:
build-amd-ubuntu22:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
container:
image: docker://ubuntu:22.04
Expand Down

0 comments on commit e11241a

Please sign in to comment.