File tree Expand file tree Collapse file tree 4 files changed +22
-20
lines changed
actions/install-maven-parent-action Expand file tree Collapse file tree 4 files changed +22
-20
lines changed Original file line number Diff line number Diff line change 1
1
name : ' Install Maven parent and SDK target'
2
2
description : ' Install the eclipse-parent pom.xml and Eclipse SDK target-platform into the local Maven cache in order to avoid the need for EF-infrastructure (which is currently unavailable).'
3
- inputs :
4
- tycho-version :
5
- description : ' The tycho release to use.'
6
- required : true
3
+
7
4
runs :
8
5
using : " composite"
9
6
steps :
@@ -20,10 +17,10 @@ runs:
20
17
shell : bash
21
18
run : |
22
19
cd eclipse-platform-parent
23
- mvn clean install -B -ntp -Dtycho.version=${{ inputs.tycho-version }}
20
+ mvn clean install
24
21
cd ..
25
22
cd eclipse.platform.releng.prereqs.sdk
26
- mvn clean install -B -ntp -Dtycho.version=${{ inputs.tycho-version }}
23
+ mvn clean install
27
24
- name : Remove eclipse.platform.releng.aggregator
28
25
shell : bash
29
26
run : ' rm -rf eclipse.platform.releng.aggregator'
Original file line number Diff line number Diff line change 34
34
35
35
permissions : {} # all none
36
36
37
+ env :
38
+ MAVEN_ARGS : >-
39
+ --batch-mode --no-transfer-progress
40
+ ${{ inputs.without-EF-infra && '-Dtycho.version=4.0.12' || '' }}
41
+
37
42
jobs :
38
43
versions-check-and-increment :
39
44
name : Check and increment service versions
59
64
- name : Install Maven parent locally
60
65
uses : eclipse-platform/eclipse.platform.releng.aggregator/.github/actions/install-maven-parent-action@master
61
66
if : inputs.without-EF-infra
62
- with :
63
- tycho-version : 4.0.12
64
67
65
68
- name : Additional setup
66
69
if : inputs.extra-setup-command
76
79
command : >
77
80
mvn verify ${{ inputs.extra-maven-args }} -DskipTests -Dcompare-version-with-baselines.skip=false
78
81
org.eclipse.tycho:tycho-versions-plugin:bump-versions -Dtycho.bump-versions.increment=100
79
- --threads 1C --fail-at-end --batch-mode --no-transfer-progress --show-version
80
- ${{ inputs.without-EF-infra && '-Dtycho.version=4.0.12' || '' }}
82
+ --threads 1C --fail-at-end --show-version
81
83
82
84
- name : Commit version increments, if any
83
85
run : |
91
93
92
94
# Read 'releaseNumberSDK' property as stream version
93
95
pushd ${{ inputs.working-directory }}
94
- mvn help:evaluate -Dexpression=releaseNumberSDK ${{ inputs.extra-maven-args }} --quiet '-Doutput=releaseNumberSDK-value.txt' \
95
- ${{ inputs.without-EF-infra && '-Dtycho.version=4.0.12' || '' }}
96
+ mvn help:evaluate -Dexpression=releaseNumberSDK ${{ inputs.extra-maven-args }} --quiet '-Doutput=releaseNumberSDK-value.txt'
96
97
streamVersion=$(<releaseNumberSDK-value.txt)
97
98
rm -f releaseNumberSDK-value.txt
98
99
popd
Original file line number Diff line number Diff line change 26
26
required : false
27
27
default : true
28
28
29
+ env :
30
+ MAVEN_ARGS : >-
31
+ --batch-mode --no-transfer-progress
32
+ ${{ inputs.without-EF-infra && '-Dtycho.version=4.0.12' || '' }}
33
+
29
34
jobs :
30
35
analyze :
31
36
name : Analyze
@@ -86,14 +91,11 @@ jobs:
86
91
- name : Install Maven parent locally
87
92
uses : eclipse-platform/eclipse.platform.releng.aggregator/.github/actions/install-maven-parent-action@master
88
93
if : inputs.without-EF-infra
89
- with :
90
- tycho-version : 4.0.12
91
94
92
95
- name : Build with Maven
93
96
run : >-
94
97
${{ runner.os == 'Linux' && 'xvfb-run' || '' }}
95
- mvn --batch-mode --no-transfer-progress --show-version --update-snapshots --errors
96
- ${{ inputs.without-EF-infra && '-Dtycho.version=4.0.12' || '' }}
98
+ mvn --show-version --update-snapshots --errors
97
99
-Dcompare-version-with-baselines.skip=true
98
100
-Pbree-libs
99
101
-DskipTests=true
Original file line number Diff line number Diff line change 28
28
29
29
permissions : {}
30
30
31
+ env :
32
+ MAVEN_ARGS : >-
33
+ --batch-mode --no-transfer-progress
34
+ ${{ inputs.without-EF-infra && '-Dtycho.version=4.0.12' || '' }}
35
+
31
36
jobs :
32
37
event_file :
33
38
name : " Upload Event File"
@@ -81,14 +86,11 @@ jobs:
81
86
- name : Install Maven parent locally
82
87
uses : eclipse-platform/eclipse.platform.releng.aggregator/.github/actions/install-maven-parent-action@master
83
88
if : inputs.without-EF-infra
84
- with :
85
- tycho-version : 4.0.12
86
89
87
90
- name : Build with Maven
88
91
run : >-
89
92
${{ runner.os == 'Linux' && 'xvfb-run' || '' }}
90
- mvn --batch-mode --no-transfer-progress --show-version --update-snapshots --errors
91
- ${{ inputs.without-EF-infra && '-Dtycho.version=4.0.12' || '' }}
93
+ mvn --show-version --update-snapshots --errors
92
94
-Dcompare-version-with-baselines.skip=false
93
95
-Pbree-libs
94
96
-Papi-check
You can’t perform that action at this time.
0 commit comments