Skip to content

Commit f1532cc

Browse files
committed
Some fixes for GHA workflows
* Use the `main` "version" for reusable workflow in the `pr-build.yml` * Use `java-version: 24` input for `spring-io/spring-gradle-build-action` * Fix Develocity evn var for the proper `DEVELOCITY_ACCESS_KEY`
1 parent d903d9b commit f1532cc

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/ci-snapshot.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,9 @@ on:
55
push:
66
branches:
77
- main
8-
- 6.1.x
98

109
env:
11-
GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }}
12-
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}
13-
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
10+
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
1411

1512
jobs:
1613
build_snapshot:
@@ -24,6 +21,8 @@ jobs:
2421

2522
- name: Set up Gradle
2623
uses: spring-io/spring-gradle-build-action@v2
24+
with:
25+
java-version: 24
2726

2827
- name: Build
2928
run: ./gradlew check

.github/workflows/pr-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ on:
77

88
jobs:
99
build-pull-request:
10-
uses: spring-io/spring-github-workflows/.github/workflows/spring-gradle-pull-request-build.yml@v3
10+
uses: spring-io/spring-github-workflows/.github/workflows/spring-gradle-pull-request-build.yml@main

0 commit comments

Comments
 (0)