Skip to content

Commit

Permalink
Merge pull request #358 from paketo-buildpacks/20-to-21
Browse files Browse the repository at this point in the history
Replace Java 20 with 21
  • Loading branch information
anthonydahanne authored Sep 20, 2023
2 parents b5e0f41 + 6d73a32 commit 2b56bac
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 52 deletions.
12 changes: 6 additions & 6 deletions .github/pipeline-descriptor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,17 +64,17 @@ dependencies:
with:
type: jre
version: "17"
- name: JDK 20
- name: JDK 21
id: jdk
version_pattern: "20\\.[\\d]+\\.[\\d]+"
version_pattern: "21\\.[\\d]+\\.[\\d]+"
uses: docker://ghcr.io/paketo-buildpacks/actions/azul-zulu-dependency:main
with:
type: jdk
version: "20"
- name: JRE 20
version: "21"
- name: JRE 21
id: jre
version_pattern: "20\\.[\\d]+\\.[\\d]+"
version_pattern: "21\\.[\\d]+\\.[\\d]+"
uses: docker://ghcr.io/paketo-buildpacks/actions/azul-zulu-dependency:main
with:
type: jre
version: "20"
version: "21"
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Update JDK 20
name: Update JDK 21
"on":
schedule:
- cron: 0 5 * * 1-5
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
uses: docker://ghcr.io/paketo-buildpacks/actions/azul-zulu-dependency:main
with:
type: jdk
version: "20"
version: "21"
- name: Update Buildpack Dependency
id: buildpack
run: |
Expand Down Expand Up @@ -94,18 +94,18 @@ jobs:
SHA256: ${{ steps.dependency.outputs.sha256 }}
URI: ${{ steps.dependency.outputs.uri }}
VERSION: ${{ steps.dependency.outputs.version }}
VERSION_PATTERN: 20\.[\d]+\.[\d]+
VERSION_PATTERN: 21\.[\d]+\.[\d]+
- uses: peter-evans/create-pull-request@v5
with:
author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com>
body: Bumps `JDK 20` from `${{ steps.buildpack.outputs.old-version }}` to `${{ steps.buildpack.outputs.new-version }}`.
branch: update/buildpack/jdk-20
body: Bumps `JDK 21` from `${{ steps.buildpack.outputs.old-version }}` to `${{ steps.buildpack.outputs.new-version }}`.
branch: update/buildpack/jdk-21
commit-message: |-
Bump JDK 20 from ${{ steps.buildpack.outputs.old-version }} to ${{ steps.buildpack.outputs.new-version }}
Bump JDK 21 from ${{ steps.buildpack.outputs.old-version }} to ${{ steps.buildpack.outputs.new-version }}
Bumps JDK 20 from ${{ steps.buildpack.outputs.old-version }} to ${{ steps.buildpack.outputs.new-version }}.
Bumps JDK 21 from ${{ steps.buildpack.outputs.old-version }} to ${{ steps.buildpack.outputs.new-version }}.
delete-branch: true
labels: ${{ steps.buildpack.outputs.version-label }}, type:dependency-upgrade
signoff: true
title: Bump JDK 20 from ${{ steps.buildpack.outputs.old-version }} to ${{ steps.buildpack.outputs.new-version }}
title: Bump JDK 21 from ${{ steps.buildpack.outputs.old-version }} to ${{ steps.buildpack.outputs.new-version }}
token: ${{ secrets.PAKETO_BOT_GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Update JRE 20
name: Update JRE 21
"on":
schedule:
- cron: 0 5 * * 1-5
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
uses: docker://ghcr.io/paketo-buildpacks/actions/azul-zulu-dependency:main
with:
type: jre
version: "20"
version: "21"
- name: Update Buildpack Dependency
id: buildpack
run: |
Expand Down Expand Up @@ -94,18 +94,18 @@ jobs:
SHA256: ${{ steps.dependency.outputs.sha256 }}
URI: ${{ steps.dependency.outputs.uri }}
VERSION: ${{ steps.dependency.outputs.version }}
VERSION_PATTERN: 20\.[\d]+\.[\d]+
VERSION_PATTERN: 21\.[\d]+\.[\d]+
- uses: peter-evans/create-pull-request@v5
with:
author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com>
body: Bumps `JRE 20` from `${{ steps.buildpack.outputs.old-version }}` to `${{ steps.buildpack.outputs.new-version }}`.
branch: update/buildpack/jre-20
body: Bumps `JRE 21` from `${{ steps.buildpack.outputs.old-version }}` to `${{ steps.buildpack.outputs.new-version }}`.
branch: update/buildpack/jre-21
commit-message: |-
Bump JRE 20 from ${{ steps.buildpack.outputs.old-version }} to ${{ steps.buildpack.outputs.new-version }}
Bump JRE 21 from ${{ steps.buildpack.outputs.old-version }} to ${{ steps.buildpack.outputs.new-version }}
Bumps JRE 20 from ${{ steps.buildpack.outputs.old-version }} to ${{ steps.buildpack.outputs.new-version }}.
Bumps JRE 21 from ${{ steps.buildpack.outputs.old-version }} to ${{ steps.buildpack.outputs.new-version }}.
delete-branch: true
labels: ${{ steps.buildpack.outputs.version-label }}, type:dependency-upgrade
signoff: true
title: Bump JRE 20 from ${{ steps.buildpack.outputs.old-version }} to ${{ steps.buildpack.outputs.new-version }}
title: Bump JRE 21 from ${{ steps.buildpack.outputs.old-version }} to ${{ steps.buildpack.outputs.new-version }}
token: ${{ secrets.PAKETO_BOT_GITHUB_TOKEN }}
Loading

0 comments on commit 2b56bac

Please sign in to comment.