Skip to content

Commit fc81f58

Browse files
committed
Workflow upgraded to java 21
1 parent 3c6964d commit fc81f58

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ name: Build
1616
on:
1717
# Trigger the workflow on pushes to only the 'main' branch (this avoids duplicate checks being run e.g., for dependabot pull requests)
1818
push:
19-
branches: [main]
19+
branches: [ main ]
2020
# Trigger the workflow on any pull request
2121
pull_request:
2222

@@ -53,7 +53,7 @@ jobs:
5353
uses: actions/setup-java@v4
5454
with:
5555
distribution: zulu
56-
java-version: 17
56+
java-version: 21
5757

5858
# Setup Gradle
5959
- name: Setup Gradle
@@ -94,7 +94,7 @@ jobs:
9494
# Run tests and upload a code coverage report
9595
test:
9696
name: Test
97-
needs: [build]
97+
needs: [ build ]
9898
runs-on: ubuntu-latest
9999
steps:
100100
# Free GitHub Actions Environment Disk Space
@@ -113,7 +113,7 @@ jobs:
113113
uses: actions/setup-java@v4
114114
with:
115115
distribution: zulu
116-
java-version: 17
116+
java-version: 21
117117

118118
# Setup Gradle
119119
- name: Setup Gradle
@@ -136,7 +136,7 @@ jobs:
136136
# Run plugin structure verification along with IntelliJ Plugin Verifier
137137
verify:
138138
name: Verify plugin
139-
needs: [build]
139+
needs: [ build ]
140140
runs-on: ubuntu-latest
141141
steps:
142142
# Free GitHub Actions Environment Disk Space
@@ -155,7 +155,7 @@ jobs:
155155
uses: actions/setup-java@v4
156156
with:
157157
distribution: zulu
158-
java-version: 17
158+
java-version: 21
159159

160160
# Setup Gradle
161161
- name: Setup Gradle

0 commit comments

Comments
 (0)