Skip to content

chore(deps): update it-at-m/lhm_actions action to v1.0.4 #528

chore(deps): update it-at-m/lhm_actions action to v1.0.4

chore(deps): update it-at-m/lhm_actions action to v1.0.4 #528

name: build all
on:
pull_request:
push:
branches:
- "main"
jobs:
build:
runs-on: ubuntu-latest
env:
TZ: Europe/Berlin # timezone
strategy:
fail-fast: false
matrix:
include: # hier müssen die Pfade angegeben werden
- app-path: refarch-backend
- app-path: refarch-frontend
- app-path: refarch-eai
- app-path: refarch-webcomponent
steps:
- uses: it-at-m/lhm_actions/action-templates/actions/action-checkout@175e2b8e7162b91368e37f1ea5b74bf5ec3ee10a # v1.0.4
- if: ${{hashFiles(format('./{0}/package.json', matrix.app-path))!=null}}
id: node
uses: it-at-m/lhm_actions/action-templates/actions/action-npm-build@175e2b8e7162b91368e37f1ea5b74bf5ec3ee10a # v1.0.4
with:
app-path: "${{ matrix.app-path }}"
- if: ${{hashFiles(format('./{0}/pom.xml', matrix.app-path))!=null}}
id: maven
uses: it-at-m/lhm_actions/action-templates/actions/action-maven-build@175e2b8e7162b91368e37f1ea5b74bf5ec3ee10a # v1.0.4
with:
app-path: "${{ matrix.app-path }}"
- if: github.ref == 'refs/heads/main'
uses: it-at-m/lhm_actions/action-templates/actions/action-build-image@175e2b8e7162b91368e37f1ea5b74bf5ec3ee10a # v1.0.4
with:
path: "${{ matrix.app-path }}"
image-name: "${{ matrix.app-path }}"
artifact-name: ${{join(steps.*.outputs.artifact-name)}}
registry-password: ${{ secrets.GITHUB_TOKEN }}
registry-username: ${{ github.actor }}