-
Notifications
You must be signed in to change notification settings - Fork 79
54 lines (52 loc) · 1.68 KB
/
updateTarget.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: Update Target Platform
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
push:
branches:
- master
paths:
- '**.target'
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
ref: master
- name: Set up Maven
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
with:
maven-version: 3.9.9
- name: Set up JDK
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Update Target Platform
run: >-
mvn -ntp -f eclipse.platform.releng.prereqs.sdk
org.eclipse.tycho.extras:tycho-version-bump-plugin:4.0.9:update-target
-DallowMajorUpdates=false
-Ddiscovery=parent
-Dmaven.version.rules=update-rules.xml
- name: Create Pull Request
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
with:
commit-message: Update target-platform with latest version
branch: update_target
title: Dependency Updates
body: Please review the changes and merge if appropriate, or cherry pick individual updates.
delete-branch: true
draft: false
token: ${{ secrets.RELENG_BOT_PAT }}
committer: Eclipse Releng Bot <releng-bot@eclipse.org>
author: Eclipse Releng Bot <releng-bot@eclipse.org>
add-paths: |
**/*.target