Skip to content

Commit

Permalink
use reuseable workflows instead of own definition
Browse files Browse the repository at this point in the history
  • Loading branch information
MrSebastian committed Apr 8, 2024
1 parent b214992 commit 3ee5e8c
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 91 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/build_broadcast-service_pull-request.yml

This file was deleted.

48 changes: 0 additions & 48 deletions .github/workflows/build_broadcast-service_push-dev.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/build_wls-common_pull-request.yaml

This file was deleted.

14 changes: 14 additions & 0 deletions .github/workflows/wls-broadcast-service_pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: verify pull request broadcast-service

on:
pull_request:
paths:
- 'wls-broadcast-service/**'
- '.github/workflows/wls-broadcast-service_pull-request.yml'

jobs:
verify-pull-request:
uses:
./.github/workflows/callable-run-mvn-verify.yml
with:
pom-dir: 'wls-broadcast-service'
20 changes: 20 additions & 0 deletions .github/workflows/wls-broadcast-service_push-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: build push dev broadcast-service

on:
push:
branches:
- dev
paths:
- 'wls-broadcast-service/**'
- '.github/workflows/wls-broadcast-service_push-dev.yml'

jobs:
build-github-container-image:
permissions:
packages: write
needs:
- prepare-release
uses:
./.github/workflows/callable-create-github-container-image.yml
with:
service: 'wls-broadcast-service'
13 changes: 13 additions & 0 deletions .github/workflows/wls-common_pull-request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: verify pull request wls-common

on:
pull_request:
paths:
- 'wls-common/**'

jobs:
verify-pull-request:
uses:
./.github/workflows/callable-run-mvn-verify.yml
with:
pom-dir: 'wls-common'

0 comments on commit 3ee5e8c

Please sign in to comment.