Skip to content

Commit ab1a610

Browse files
committed
Added --no-parallel to publish workflow
1 parent 8c819c5 commit ab1a610

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,15 @@ jobs:
1414
uses: actions/setup-java@v1
1515
with:
1616
java-version: 17
17+
- name: Build
18+
run: ./gradlew publishToMavenLocal
1719
- name: Publish
1820
env:
1921
SONATYPE_USER_NAME: ${{ secrets.SONATYPE_USER_NAME }}
2022
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
2123
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
2224
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
23-
run: ./gradlew publish
25+
run: ./gradlew publish --no-parallel
2426
- name: Close staging repository
2527
run: 'curl -H "Authorization: Bearer ${{ secrets.SONATYPE_AUTH_BASE64 }}" -X POST https://ossrh-staging-api.central.sonatype.com/manual/upload/defaultRepository/com.arkivanov.decompose'
2628
- name: Check publication

0 commit comments

Comments
 (0)