瀏覽代碼

Use JDK 11 with spring-gradle-build-action

Steve Riesenberg 3 年之前
父節點
當前提交
68bdb63faf
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      .github/workflows/continuous-integration-workflow.yml

+ 3 - 0
.github/workflows/continuous-integration-workflow.yml

@@ -329,6 +329,9 @@ jobs:
     steps:
     steps:
       - uses: actions/checkout@v2
       - uses: actions/checkout@v2
       - uses: spring-io/spring-gradle-build-action@v1
       - uses: spring-io/spring-gradle-build-action@v1
+        with:
+          java-version: '11'
+          distribution: 'adopt'
       - name: Schedule next release (if not already scheduled)
       - name: Schedule next release (if not already scheduled)
         run: ./gradlew scheduleNextRelease -PnextVersion=$VERSION -PgitHubAccessToken=$TOKEN
         run: ./gradlew scheduleNextRelease -PnextVersion=$VERSION -PgitHubAccessToken=$TOKEN
   notify_result:
   notify_result: