Skip to content

Commit 705dc38

Browse files
committed
Add update target platform workflow and enable tycho-build-extension
This adds a workflow that automatically check for updates in the target platform. Additionally it enables the tycho-build extension and removes a no longer needed pom.xml
1 parent 9ade35b commit 705dc38

File tree

5 files changed

+48
-26
lines changed

5 files changed

+48
-26
lines changed

.github/workflows/updateTarget.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Target Platform Updates
2+
3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
7+
on:
8+
workflow_dispatch:
9+
schedule:
10+
- cron: '0 0 * * *'
11+
push:
12+
branches:
13+
- master
14+
paths:
15+
- '**.target'
16+
17+
18+
jobs:
19+
update:
20+
uses: eclipse-platform/eclipse.platform.releng.aggregator/.github/workflows/updateTarget.yml@master
21+
with:
22+
author: wildwebdeveloper-bot <[email protected]>
23+
path: 'target-platform'
24+
secrets:
25+
token: ${{ secrets.GITHUB_TOKEN }}

.mvn/extensions.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<extensions>
3+
<extension>
4+
<groupId>org.eclipse.tycho</groupId>
5+
<artifactId>tycho-build</artifactId>
6+
<version>${tycho-version}</version>
7+
</extension>
8+
</extensions>

.mvn/maven.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-Dtycho-version=4.0.11

org.eclipse.wildwebdeveloper.xml/pom.xml

Lines changed: 0 additions & 25 deletions
This file was deleted.

pom.xml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
<name>Eclipse Wild Web Developer - Parent</name>
88
<description>Wild Web Developer provides simple but efficient Web development tools in the Eclipse IDE</description>
99
<properties>
10-
<tycho-version>4.0.11</tycho-version>
1110
<tycho.scmUrl>scm:git:https://github.com/eclipse-wildwebdeveloper/wildwebdeveloper.git</tycho.scmUrl>
1211
<jgit.dirtyWorkingTree>error</jgit.dirtyWorkingTree>
1312
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -190,6 +189,20 @@
190189
</environments>
191190
</configuration>
192191
</plugin>
192+
<plugin>
193+
<groupId>org.eclipse.tycho.extras</groupId>
194+
<artifactId>tycho-version-bump-plugin</artifactId>
195+
<version>${tycho-version}</version>
196+
<executions>
197+
<execution>
198+
<id>update-target</id>
199+
<configuration>
200+
<updateEmptyVersion>false</updateEmptyVersion>
201+
<allowMajorUpdates>false</allowMajorUpdates>
202+
</configuration>
203+
</execution>
204+
</executions>
205+
</plugin>
193206
</plugins>
194207
</pluginManagement>
195208
</build>

0 commit comments

Comments
 (0)