Skip to content

Commit c7a0ab5

Browse files
committed
Modify CI for problem diagnosis
1 parent 4ba0ec3 commit c7a0ab5

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,36 +2,22 @@ name: CI
22
on:
33
push:
44
branches:
5-
- 'main'
5+
- 'temp/gradle-windows-problem'
66
permissions:
77
contents: read
88
jobs:
99
ci:
1010
name: '${{ matrix.os.name}} | Java ${{ matrix.java.version}}'
11-
if: ${{ github.repository == 'spring-projects/spring-boot' || github.repository == 'spring-projects/spring-boot-commercial' }}
1211
runs-on: ${{ matrix.os.id }}
1312
strategy:
1413
fail-fast: false
1514
matrix:
1615
os:
17-
- id: ${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }}
18-
name: Linux
1916
- id: windows-latest
2017
name: Windows
2118
java:
2219
- version: 17
2320
toolchain: true
24-
- version: 21
25-
toolchain: true
26-
- version: 25
27-
toolchain: false
28-
exclude:
29-
- os:
30-
name: Linux
31-
java:
32-
version: 25
33-
- os:
34-
name: ${{ github.repository == 'spring-projects/spring-boot-commercial' && 'Windows' }}
3521
steps:
3622
- name: Prepare Windows runner
3723
if: ${{ runner.os == 'Windows' }}

0 commit comments

Comments
 (0)