File tree Expand file tree Collapse file tree 4 files changed +5
-10
lines changed
Expand file tree Collapse file tree 4 files changed +5
-10
lines changed Original file line number Diff line number Diff line change 2222 rm -rf ~/.gradle
2323
2424 - name : Test JAR with Gradle
25- run : ./gradlew test
25+ run : ./gradlew test --max-workers 1
2626 env :
2727 GITHUB_ACTOR : ${{ secrets.GITHUB_ACTOR }}
2828 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -115,11 +115,8 @@ jobs:
115115 - name : Grant execute permission for gradlew
116116 run : chmod +x gradlew
117117
118- - name : Gradle Dependencies
119- run : ./gradlew --refresh-dependencies
120-
121118 - name : Build JAR with Gradle
122- run : ./gradlew build
119+ run : ./gradlew build --max-workers 1
123120 env :
124121 GITHUB_ACTOR : ${{ secrets.GITHUB_ACTOR }}
125122 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ jobs:
117117 run : chmod +x gradlew
118118
119119 - name : Publish JAR with Gradle
120- run : ./gradlew publish
120+ run : ./gradlew publish --max-workers 1
121121 env :
122122 GITHUB_ACTOR : ${{ secrets.GITHUB_ACTOR }}
123123 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ jobs:
119119 run : chmod +x gradlew
120120
121121 - name : Publish package
122- run : ./gradlew publish
122+ run : ./gradlew publish --max-workers 1
123123 env :
124124 GITHUB_ACTOR : ${{ secrets.GITHUB_ACTOR }}
125125 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
@@ -205,9 +205,7 @@ jobs:
205205 java-version : " 8.0.282"
206206
207207 - name : Build JAR with Gradle
208- uses : eskatos/gradle-command-action@v1
209- with :
210- arguments : build
208+ run : ./gradlew build --max-workers 1
211209 env :
212210 GITHUB_ACTOR : ${{ secrets.GITHUB_ACTOR }}
213211 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments