Update Target Platform #41
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update Target Platform | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
push: | |
branches: | |
- master | |
paths: | |
- '**.target' | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
with: | |
fetch-depth: 0 | |
ref: master | |
- name: Set up Maven | |
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5 | |
with: | |
maven-version: 3.9.7 | |
- name: Set up JDK | |
uses: actions/setup-java@2dfa2011c5b2a0f1489bf9e433881c92c1631f88 # v4.3.0 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
cache: maven | |
- name: Update Target Platform | |
run: >- | |
mvn -f eclipse.platform.releng.prereqs.sdk | |
org.eclipse.tycho.extras:tycho-version-bump-plugin:4.0.9-SNAPSHOT: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: true | |
token: ${{ secrets.RELENG_BOT_PAT }} | |
committer: Eclipse Releng Bot <[email protected]> | |
author: Eclipse Releng Bot <[email protected]> | |
add-paths: | | |
**/*.target |