Commit ac7793d 1 parent cde7df1 commit ac7793d Copy full SHA for ac7793d
File tree 3 files changed +85
-3
lines changed
3 files changed +85
-3
lines changed Original file line number Diff line number Diff line change
1
+ # This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
2
+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
3
+
4
+ # This workflow uses actions that are not certified by GitHub.
5
+ # They are provided by a third-party and are governed by
6
+ # separate terms of service, privacy policy, and support
7
+ # documentation.
8
+
9
+ name : Java CI with Maven
10
+
11
+ on :
12
+ pull_request :
13
+ branches : [ "master" ]
14
+
15
+ jobs :
16
+ build :
17
+
18
+ runs-on : ubuntu-latest
19
+
20
+ steps :
21
+ - uses : actions/checkout@v4
22
+ - name : Set up JDK 17
23
+ uses : actions/setup-java@v4
24
+ with :
25
+ java-version : ' 17'
26
+ distribution : ' temurin'
27
+ cache : maven
28
+ - name : Set up Maven
29
+ uses : stCarolas/setup-maven@07fbbe97d97ef44336b7382563d66743297e442f # v4.5
30
+ with :
31
+ maven-version : 3.9.6
32
+ - name : Build with Maven
33
+ run : " mvn -B package --file pom.xml -DunofficialSuffix=\" '-PR${{ PR_NUMBER }}'\" "
34
+ env :
35
+ PR_NUMBER : ${{ github.event.number }}
36
+ - name : Archive Build Artifacts
37
+ uses : actions/upload-artifact@v4
38
+ with :
39
+ name : p2-repository
40
+ path : com.wamas.ide.launching.update/target/repository/
41
+ retention-days : 7
Original file line number Diff line number Diff line change
1
+ # This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
2
+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
3
+
4
+ # This workflow uses actions that are not certified by GitHub.
5
+ # They are provided by a third-party and are governed by
6
+ # separate terms of service, privacy policy, and support
7
+ # documentation.
8
+
9
+ name : Java CI with Maven
10
+
11
+ on :
12
+ push :
13
+ branches : [ "master" ]
14
+
15
+ jobs :
16
+ build :
17
+
18
+ runs-on : ubuntu-latest
19
+
20
+ steps :
21
+ - uses : actions/checkout@v4
22
+ - name : Set up JDK 17
23
+ uses : actions/setup-java@v4
24
+ with :
25
+ java-version : ' 17'
26
+ distribution : ' temurin'
27
+ cache : maven
28
+ - name : Set up Maven
29
+ uses : stCarolas/setup-maven@07fbbe97d97ef44336b7382563d66743297e442f # v4.5
30
+ with :
31
+ maven-version : 3.9.6
32
+ - name : Build with Maven
33
+ run : mvn -B package --file pom.xml -DunofficialSuffix=
34
+ - name : Archive Build Artifacts
35
+ uses : actions/upload-artifact@v4
36
+ with :
37
+ name : p2-repository
38
+ path : com.wamas.ide.launching.update/target/repository/
Original file line number Diff line number Diff line change 25
25
<!--
26
26
<tycho-snapshots>https://repo.eclipse.org/content/repositories/tycho-snapshots/</tycho-snapshots>
27
27
-->
28
+ <unofficialSuffix >'-UNOFFICIAL'</unofficialSuffix >
28
29
</properties >
29
30
30
31
<pluginRepositories >
53
54
</pluginRepositories >
54
55
55
56
<build >
57
+ <finalName >foobar</finalName >
56
58
<pluginManagement >
57
59
<plugins >
58
60
<plugin >
261
263
<repository >
262
264
<id >eclipse</id >
263
265
<layout >p2</layout >
264
- <url >http://download.eclipse.org/releases/2024-12 </url >
266
+ <url >http://download.eclipse.org/releases/2024-06 </url >
265
267
</repository >
266
268
<repository >
267
269
<id >cbi-targetplatform-dsl-mirror</id >
268
270
<layout >p2</layout >
269
- <url >https://download.eclipse.org/cbi/updates/tpd/release/3.0.0 </url >
271
+ <url >https://download.eclipse.org/cbi/updates/tpd/release/</url >
270
272
</repository >
271
273
</repositories >
272
274
<dependencies >
285
287
<applicationArg >target-platforms/default.tpd</applicationArg >
286
288
</applicationArgs >
287
289
</configuration >
288
- </plugin >
290
+ </plugin >
289
291
</plugins >
290
292
</build >
291
293
327
329
<timestampProvider >jgit</timestampProvider >
328
330
<jgit .ignore>pom.xml .gitignore .launchers/**</jgit .ignore>
329
331
<jgit .dirtyWorkingTree>warning</jgit .dirtyWorkingTree>
332
+ <format >yyyyMMddHHmm${unofficialSuffix} </format >
330
333
</configuration >
331
334
</plugin >
332
335
</plugins >
You can’t perform that action at this time.
0 commit comments