Explorar o código

Use cache and user.name system property on Windows

Steve Riesenberg %!s(int64=3) %!d(string=hai) anos
pai
achega
66da4301fc
Modificáronse 1 ficheiros con 6 adicións e 2 borrados
  1. 6 2
      .github/workflows/continuous-integration-workflow.yml

+ 6 - 2
.github/workflows/continuous-integration-workflow.yml

@@ -50,11 +50,15 @@ jobs:
     if: needs.prerequisites.outputs.runjobs
     steps:
       - uses: actions/checkout@v2
-      - name: Set up gradle
-        uses: spring-io/spring-gradle-build-action@v1
+      - name: Set up JDK 11
+        uses: actions/setup-java@v2
         with:
           java-version: '11'
           distribution: 'adopt'
+      - 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
         env:
           GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }}