Skip to content

Commit 1d99e69

Browse files
committed
Update of GitHub workflow file for supporting 5.x CI/CD
1 parent 60aa2a1 commit 1d99e69

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: CI/CD (5.x-stable)
2+
on:
3+
push:
4+
branches:
5+
- '5.[0-9]+'
6+
pull_request:
7+
branches:
8+
- '5.[0-9]+'
9+
schedule:
10+
- cron: '0 6 * * *'
11+
jobs:
12+
CI-CD:
13+
uses: ./.github/workflows/ci-matrix-5.x.yml
14+
secrets: inherit
15+
with:
16+
branch: ${{ github.event_name == 'schedule' && vars.VERTX_5_STABLE_BRANCH || github.event.pull_request.head.sha || github.ref_name }}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CI matrix (5.x)
2+
on:
3+
workflow_call:
4+
inputs:
5+
branch:
6+
required: true
7+
type: string
8+
jobs:
9+
CI:
10+
strategy:
11+
matrix:
12+
include:
13+
- os: ubuntu-latest
14+
jdk: 11
15+
- os: windows-latest
16+
jdk: 11
17+
- os: ubuntu-latest
18+
jdk: 21
19+
uses: ./.github/workflows/ci.yml
20+
with:
21+
branch: ${{ github.event.pull_request.head.sha || github.ref_name }}
22+
jdk: ${{ matrix.jdk }}
23+
os: ${{ matrix.os }}
24+
secrets: inherit
25+
Deploy:
26+
if: ${{ github.repository_owner == 'eclipse-vertx' && (github.event_name == 'push' || github.event_name == 'schedule') }}
27+
needs: CI
28+
uses: ./.github/workflows/deploy.yml
29+
with:
30+
branch: ${{ github.event.pull_request.head.sha || github.ref_name }}
31+
jdk: 11
32+
secrets: inherit

0 commit comments

Comments
 (0)