Skip to content

Commit 3fa26b4

Browse files
committed
Minor improvements
1 parent c902cb4 commit 3fa26b4

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/build-verification-nightly.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Verify Build (nightly)
1+
name: Verify Build (Nightly)
22
permissions:
33
contents: read
44
on:
@@ -43,13 +43,14 @@ jobs:
4343
fail-fast: false
4444
matrix:
4545
gradle-version: ['current', 'release-candidate', 'nightly']
46+
java-version: ['21']
4647
steps:
4748
- name: Checkout
4849
uses: actions/checkout@v5
49-
- name: Set up JDK 21
50+
- name: Set up JDK
5051
uses: actions/setup-java@v5
5152
with:
52-
java-version: '21'
53+
java-version: ${{ matrix.java-version }}
5354
distribution: 'temurin'
5455
- name: Set up Gradle
5556
uses: gradle/actions/setup-gradle@v4
@@ -101,5 +102,5 @@ jobs:
101102
org.gradle.jvmargs=-Duser.language=en -Duser.country=US -Dfile.encoding=UTF-8
102103
""" > ${{ runner.temp }}/gradle.properties
103104
- name: Run a build with the locally published plugin
104-
run: gradle help "-Dscan.value.gradle-version=${{ matrix.gradle-version }}" "-Dscan.value.java-version=21"
105+
run: gradle help "-Dscan.value.gradle-version=${{ matrix.gradle-version }}" "-Dscan.value.java-version=${{ matrix.java-version }}"
105106
working-directory: ${{ runner.temp }}

.github/workflows/build-verification.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: Verify Build
2-
2+
permissions:
3+
contents: read
34
on: [ push, pull_request, workflow_dispatch ]
45

56
jobs:

0 commit comments

Comments
 (0)