mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-01 09:42:13 +00:00
Use cache and user.name system property on Windows
This commit is contained in:
parent
4393c2ea02
commit
865bf23ecc
@ -50,11 +50,15 @@ jobs:
|
|||||||
if: needs.prerequisites.outputs.runjobs
|
if: needs.prerequisites.outputs.runjobs
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Set up gradle
|
- name: Set up JDK 17
|
||||||
uses: spring-io/spring-gradle-build-action@v1
|
uses: actions/setup-java@v2
|
||||||
with:
|
with:
|
||||||
java-version: '17'
|
java-version: '17'
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
|
- name: Set up Gradle
|
||||||
|
uses: gradle/gradle-build-action@v2
|
||||||
|
- name: Set up gradle user name
|
||||||
|
run: echo 'systemProp.user.name=spring-builds+github' >> gradle.properties
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
env:
|
env:
|
||||||
GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }}
|
GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user