Merge pull request #589 from codecentric/renovate/actions-setup-node-4.x #1142
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: report service | |
on: | |
push: | |
branches: | |
- '**' | |
paths: | |
- .github/workflows/prepare-release.yaml | |
- .github/workflows/build-java-service.yaml | |
- .github/workflows/parse-junit-results.yaml | |
- .github/workflows/build-docker.yaml | |
- .github/workflows/release.yaml | |
- .github/workflows/report.yaml | |
- services/report/** | |
jobs: | |
prepare-release: | |
uses: ./.github/workflows/prepare-release.yaml | |
with: | |
working-dir: ./services/report | |
build: | |
name: 🔨 Build and test backend service | |
uses: ./.github/workflows/build-java-service.yaml | |
needs: prepare-release | |
with: | |
service_name: report | |
version: ${{ needs.prepare-release.outputs.release-version }} | |
docker: | |
name: 🔨 Build and push Docker image | |
uses: ./.github/workflows/build-docker.yaml | |
needs: | |
- prepare-release | |
- build | |
with: | |
image-name: report | |
working-dir: ./services/report | |
version: ${{ needs.prepare-release.outputs.release-version }} | |
artifact-name: ${{ needs.build.outputs.jar-artifact-name }} | |
artifact-path: ${{ needs.build.outputs.jar-artifact-path }} | |
github-release: | |
uses: ./.github/workflows/release.yaml | |
needs: | |
- prepare-release | |
- build | |
- docker | |
with: | |
service-name: report | |
version: ${{ needs.prepare-release.outputs.release-version }} | |
change-notes: ${{ needs.prepare-release.outputs.release-notes }} | |
license-artifact-name: ${{ needs.build.outputs.license-artifact-name }} | |
license-artifact-path: ${{ needs.build.outputs.license-artifact-path }} |