File tree Expand file tree Collapse file tree 3 files changed +34
-1
lines changed Expand file tree Collapse file tree 3 files changed +34
-1
lines changed Original file line number Diff line number Diff line change 84
84
required : false
85
85
default : " "
86
86
type : string
87
+ MVN_GLOBAL_SETTINGS :
88
+ description : " Maven global settings configuration."
89
+ required : false
90
+ default : ${{ vars.GLOBAL_SETTINGS }}
91
+ type : string
87
92
ENV_VARS :
88
93
# yamllint disable-line rule:line-length
89
94
description : " Pass GitHub variables to be exported as environment variables via `toJSON(vars)` or specific variables encoded in JSON format"
@@ -128,4 +133,4 @@ jobs:
128
133
mvn-profiles : ${{ inputs.MVN_PROFILES }}
129
134
env-vars : ${{ inputs.ENV_VARS }}
130
135
env-secrets : ${{ inputs.ENV_SECRETS }}
131
- global-settings : ${{ vars.GLOBAL_SETTINGS }}
136
+ global-settings : ${{ inputs.MVN_GLOBAL_SETTINGS }}
Original file line number Diff line number Diff line change
1
+ ---
2
+ # SPDX-License-Identifier: Apache-2.0
3
+ # SPDX-FileCopyrightText: 2024 The Linux Foundation
4
+
5
+ name : Verify Maven Workflows
6
+
7
+ # yamllint disable-line rule:truthy
8
+ on : [push, pull_request]
9
+
10
+ jobs :
11
+ test-maven-verify :
12
+ uses : ./.github/workflows/compose-maven-verify.yaml
13
+ with :
14
+ GERRIT_BRANCH : ${{ github.ref }}
15
+ GERRIT_CHANGE_ID : Ic8aaa0728a43936cd4c6e1ed590e01ba8f0fbf5b
16
+ MVN_POM_FILE : test/maven-project/pom.xml
17
+ MVN_GLOBAL_SETTINGS : " <settings/>"
Original file line number Diff line number Diff line change
1
+ <!--
2
+ SPDX-License-Identifier: Apache-2.0
3
+ SPDX-FileCopyrightText: 2024 The Linux Foundation
4
+ -->
5
+ <project >
6
+ <modelVersion >4.0.0</modelVersion >
7
+
8
+ <groupId >org.linuxfoundation.test</groupId >
9
+ <artifactId >maven-test-app</artifactId >
10
+ <version >1</version >
11
+ </project >
You can’t perform that action at this time.
0 commit comments