Skip to content

Commit 693b520

Browse files
Update common files (#560)
1 parent 53793a2 commit 693b520

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

.github/workflows/central-sync.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ jobs:
2424
with:
2525
distribution: 'temurin'
2626
java-version: |
27-
17
2827
21
28+
25
2929
- name: Publish to Sonatype OSSRH
3030
env:
3131
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}

.github/workflows/graalvm-latest.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ on:
88
push:
99
branches:
1010
- master
11-
- '[1-9]+.[0-9]+.x'
11+
- '[0-9]+.[0-9]+.x'
1212
pull_request:
1313
branches:
1414
- master
15-
- '[1-9]+.[0-9]+.x'
15+
- '[0-9]+.[0-9]+.x'
1616
jobs:
1717
build_matrix:
1818
if: github.repository != 'micronaut-projects/micronaut-project-template'
@@ -35,7 +35,7 @@ jobs:
3535
strategy:
3636
max-parallel: 6
3737
matrix:
38-
java: ['17', '21']
38+
java: ['21', '25']
3939
native_test_task: ${{ fromJson(needs.build_matrix.outputs.matrix).native_test_task }}
4040
env:
4141
DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}

.github/workflows/gradle.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ on:
88
push:
99
branches:
1010
- master
11-
- '[1-9]+.[0-9]+.x'
11+
- '[0-9]+.[0-9]+.x'
1212
pull_request:
1313
branches:
1414
- master
15-
- '[1-9]+.[0-9]+.x'
15+
- '[0-9]+.[0-9]+.x'
1616
jobs:
1717
build:
1818
if: github.repository != 'micronaut-projects/micronaut-project-template'
1919
runs-on: ubuntu-latest
2020
strategy:
2121
matrix:
22-
java: ['17', '21']
22+
java: ['21', '25']
2323
env:
2424
DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
2525
DEVELOCITY_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USERNAME }}
@@ -61,7 +61,7 @@ jobs:
6161
[ -f ./setup.sh ] && ./setup.sh || [ ! -f ./setup.sh ]
6262
6363
- name: "🚔 Sonatype Scan"
64-
if: env.OSS_INDEX_PASSWORD != '' && matrix.java == '17'
64+
if: env.OSS_INDEX_PASSWORD != '' && matrix.java == '21'
6565
id: sonatypescan
6666
run: |
6767
./gradlew ossIndexAudit --no-parallel --info
@@ -72,7 +72,7 @@ jobs:
7272
./gradlew jacocoReport check --no-daemon --continue
7373
7474
- name: "🔎 Run static analysis"
75-
if: env.SONAR_TOKEN != '' && matrix.java == '17'
75+
if: env.SONAR_TOKEN != '' && matrix.java == '21'
7676
run: |
7777
./gradlew sonar --no-parallel --continue
7878
@@ -85,14 +85,14 @@ jobs:
8585
check_retries: 'true'
8686

8787
- name: "📜 Upload binary compatibility check results"
88-
if: matrix.java == '17'
88+
if: matrix.java == '21'
8989
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
9090
with:
9191
name: binary-compatibility-reports
9292
path: "**/build/reports/binary-compatibility-*.html"
9393

9494
- name: "📦 Publish to Sonatype Snapshots"
95-
if: success() && github.event_name == 'push' && matrix.java == '17'
95+
if: success() && github.event_name == 'push' && matrix.java == '21'
9696
env:
9797
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
9898
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
@@ -107,7 +107,7 @@ jobs:
107107
if_false: ${{ github.repository }}
108108

109109
- name: "📑 Publish to Github Pages"
110-
if: success() && github.event_name == 'push' && matrix.java == '17'
110+
if: success() && github.event_name == 'push' && matrix.java == '21'
111111
uses: micronaut-projects/github-pages-deploy-action@master
112112
env:
113113
TARGET_REPOSITORY: ${{ steps.docs_target.outputs.value }}

.github/workflows/publish-snapshot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222
with:
2323
distribution: 'temurin'
2424
java-version: |
25-
17
2625
21
26+
25
2727
- name: Publish to Sonatype Snapshots
2828
if: success()
2929
env:

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ jobs:
2323
with:
2424
distribution: 'temurin'
2525
java-version: |
26-
17
2726
21
27+
25
2828
- name: Set the current release version
2929
id: release_version
3030
run: echo "release_version=${GITHUB_REF:11}" >> $GITHUB_OUTPUT
@@ -162,6 +162,6 @@ jobs:
162162
- name: Upload assets
163163
# Upload the artifacts to the existing release. Note that the SLSA provenance will
164164
# attest to each artifact file and not the aggregated ZIP file.
165-
uses: softprops/action-gh-release@72f2c25fcb47643c292f7107632f7a47c1df5cd8 # v2.3.2
165+
uses: softprops/action-gh-release@6da8fa9354ddfdc4aeace5fc48d7f679b5214090 # v2.4.1
166166
with:
167167
files: artifacts.zip

0 commit comments

Comments
 (0)