Skip to content

Commit 6bb9910

Browse files
Add New Job to Verify Windows Build on PR Workflow
1 parent 710eab3 commit 6bb9910

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/pr-build-workflow.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,20 @@ jobs:
2020
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
2121
- name: Build with Gradle
2222
run: ./gradlew clean build --continue --scan
23+
check_windows:
24+
name: Check Windows
25+
runs-on: windows-latest
26+
if: github.repository == 'spring-projects/spring-security'
27+
steps:
28+
- uses: actions/checkout@v2
29+
- name: Set up JDK
30+
uses: actions/setup-java@v1
31+
with:
32+
java-version: '11'
33+
- name: Cache Gradle packages
34+
uses: actions/cache@v2
35+
with:
36+
path: ~/.gradle/caches
37+
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
38+
- name: Check with Gradle
39+
run: ./gradlew check

0 commit comments

Comments
 (0)