Skip to content

Commit

Permalink
Disable configuration for publishing
Browse files Browse the repository at this point in the history
Disable configuration caching when publishing artifacts to any Maven repository.
  • Loading branch information
vRallev committed Nov 22, 2024
1 parent f02c45e commit dc9dfaf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
- uses: gradle/actions/setup-gradle@v4

- name: Publish to Maven Local
run: ./gradlew publishToMavenLocal --stacktrace --show-version
run: ./gradlew publishToMavenLocal --stacktrace --show-version --no-configuration-cache

test-build-logic:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: gradle/actions/setup-gradle@v4

- name: Publish release
run: ./gradlew clean publishAndReleaseToMavenCentral --no-build-cache --stacktrace --show-version
run: ./gradlew clean publishAndReleaseToMavenCentral --no-build-cache --stacktrace --show-version --no-configuration-cache
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_PASSWORD }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: gradle/actions/setup-gradle@v4

- name: Publish snapshot
run: ./gradlew clean publish --no-build-cache --stacktrace --show-version
run: ./gradlew clean publish --no-build-cache --stacktrace --show-version --no-configuration-cache
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_PASSWORD }}
Expand Down

0 comments on commit dc9dfaf

Please sign in to comment.