Skip to content

Commit e3c2cb4

Browse files
authored
Update action.yml
1 parent 9aec6c1 commit e3c2cb4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • action-templates/actions/action-maven-build

action-templates/actions/action-maven-build/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,11 @@ runs:
4040
shell: bash
4141
- id: artifact-name
4242
name: Set output variable $GITHUB_OUTPUT
43+
env:
44+
APP_PATH: ${{inputs.app-path}}
4345
run: |
4446
echo "artifact-name=${{hashFiles(format('./{0}/pom.xml', inputs.app-path))}}" >> "$GITHUB_OUTPUT"
45-
echo "cyclone-path=${{inputs.app-path}}/target/classes/META-INF/sbom/application.cdx.json" >> "$GITHUB_OUTPUT"
47+
echo "cyclone-path=$APP_PATH/target/classes/META-INF/sbom/application.cdx.json" >> "$GITHUB_OUTPUT"
4648
shell: bash
4749
- id: upload-artifact
4850
name: Upload artifact

0 commit comments

Comments
 (0)