dweiss commented on a change in pull request #1245: LUCENE-9146: Create gradle 
precommit action
URL: https://github.com/apache/lucene-solr/pull/1245#discussion_r376800656
 
 

 ##########
 File path: .github/workflows/gradle-precommit.yml
 ##########
 @@ -0,0 +1,23 @@
+name: Gradle Precommit
+
+on: 
+  pull_request:
+    branches:
+    - '*'
+
+jobs:
+  test:
+    name: gradle precommit w/ Java 11
+
+    runs-on: ubuntu-latest
+
+    steps:
+    - uses: actions/checkout@v2
+    - name: Set up JDK 11
+      uses: actions/setup-java@v1
+      with:
+        java-version: 11
+    - name: Grant execute permission for gradlew
+      run: chmod +x gradlew
 
 Review comment:
   gradlew should have this permission already when you do a git clone? Why is 
it explicit?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to