Skip to content

Update backend-maven-node-build.yml #24

Update backend-maven-node-build.yml

Update backend-maven-node-build.yml #24

name: Compliance check and build test
env:
APP_PATH: "/sps-backend" # example "/backend" for monorepos or "" for multi repos
on: # defining on which triggers this action should run
push:
branches:
# define on push of which branches should this action be run
paths:
- "sps-backend/**" # define the concrete paths on which a change triggers this action, e.g. backend/**
- ".github/workflows/**" # define the concrete paths on which a change triggers this action, e.g. backend/**
pull_request: # trigger this action also on Pull Requests
types: [ opened, reopened ]
jobs:
build-maven:
uses: it-at-m/.github/.github/workflows/reuseable-template-maven-node-build.yml@reuseable-workflow
with:
app-path: "${{ env.APP_PATH }}"

Check failure on line 24 in .github/workflows/backend-maven-node-build.yml

View workflow run for this annotation

GitHub Actions / Compliance check and build test

Invalid workflow file

The workflow is not valid. .github/workflows/backend-maven-node-build.yml (Line: 24, Col: 22): Unrecognized named-value: 'env'. Located at position 1 within expression: env.APP_PATH .github/workflows/backend-maven-node-build.yml (Line: 31, Col: 21): Unrecognized named-value: 'env'. Located at position 1 within expression: env.APP_PATH
build-image:
needs: build-maven
uses: it-at-m/.github/.github/workflows/reuseable-template-build-image.yml@reuseable-workflow
with:
app-path: "${{ env.APP_PATH }}" # ${{ env.APP_PATH }}
secrets:
registry-password: ${{ secrets.GITHUB_TOKEN }}