Skip to content

Commit 42a740d

Browse files
committed
adjust ci to new pattern
Signed-off-by: Stefan Bischof <[email protected]>
1 parent b7e8105 commit 42a740d

File tree

3 files changed

+19
-24
lines changed

3 files changed

+19
-24
lines changed

.github/workflows/build_deploy.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Build, Test and Deploy
2+
3+
on:
4+
push:
5+
branches:
6+
- 'main'
7+
pull_request:
8+
branches:
9+
- 'main'
10+
11+
jobs:
12+
build_test:
13+
uses: eclipse-daanse/.github/.github/workflows/reuse_java_build_test.yml@main
14+
15+
maven_deploy:
16+
if: ${{ github.ref == 'refs/heads/main' && github.event_name == 'push' }}
17+
needs: build_test
18+
uses: eclipse-daanse/.github/.github/workflows/reuse_java_deploy.yml@main
19+
secrets: inherit

.github/workflows/java_build_test.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

.github/workflows/java_deploy.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)