Skip to content

Commit

Permalink
Add update target platform workflow and enable tycho-build-extension
Browse files Browse the repository at this point in the history
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
  • Loading branch information
laeubi authored and mickaelistria committed Feb 8, 2025
1 parent 9ade35b commit be02924
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 26 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/updateTarget.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Target Platform Updates

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
push:
branches:
- master
paths:
- '**.target'


jobs:
update:
uses: eclipse-platform/eclipse.platform.releng.aggregator/.github/workflows/updateTarget.yml@master
with:
author: wildwebdeveloper-bot <[email protected]>
path: 'target-platform'
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
8 changes: 8 additions & 0 deletions .mvn/extensions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<extensions>
<extension>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-build</artifactId>
<version>${tycho-version}</version>
</extension>
</extensions>
1 change: 1 addition & 0 deletions .mvn/maven.config
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-Dtycho-version=4.0.11
25 changes: 0 additions & 25 deletions org.eclipse.wildwebdeveloper.xml/pom.xml

This file was deleted.

15 changes: 14 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
<name>Eclipse Wild Web Developer - Parent</name>
<description>Wild Web Developer provides simple but efficient Web development tools in the Eclipse IDE</description>
<properties>
<tycho-version>4.0.11</tycho-version>
<tycho.scmUrl>scm:git:https://github.com/eclipse-wildwebdeveloper/wildwebdeveloper.git</tycho.scmUrl>
<jgit.dirtyWorkingTree>error</jgit.dirtyWorkingTree>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down Expand Up @@ -190,6 +189,20 @@
</environments>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-version-bump-plugin</artifactId>
<version>${tycho-version}</version>
<executions>
<execution>
<id>update-target</id>
<configuration>
<updateEmptyVersion>false</updateEmptyVersion>
<allowMajorUpdates>false</allowMajorUpdates>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
Expand Down

0 comments on commit be02924

Please sign in to comment.