Skip to content

Commit bce9877

Browse files
committed
Attempt build fix per FG toolchain comment (max-workers)
MinecraftForge/ForgeGradle#697 (comment)
1 parent 1bb1df5 commit bce9877

File tree

4 files changed

+5
-10
lines changed

4 files changed

+5
-10
lines changed

.github/workflows/ci-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
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 }}

.github/workflows/manual-build.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff 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 }}

.github/workflows/manual-gh-packages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 }}

.github/workflows/tagged-release.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff 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 }}

0 commit comments

Comments
 (0)