Skip to content

Commit c6ae7d1

Browse files
committed
Minor improvements
1 parent c902cb4 commit c6ae7d1

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
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: 4 additions & 3 deletions
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:
@@ -55,12 +56,12 @@ jobs:
5556
steps:
5657
- name: Checkout
5758
uses: actions/checkout@v5
58-
- name: Set up JDK
59+
- name: Set up JDK ${{ matrix.java-version }}
5960
uses: actions/setup-java@v5
6061
with:
6162
java-version: '${{ matrix.java-version }}'
6263
distribution: 'temurin'
63-
- name: Set up Gradle
64+
- name: Set up Gradle ${{ matrix.gradle-version }}
6465
uses: gradle/actions/setup-gradle@v4
6566
with:
6667
develocity-access-key: ${{ secrets.DV_SOLUTIONS_ACCESS_KEY }}

0 commit comments

Comments
 (0)