Skip to content

Commit

Permalink
Snapshot publishing: no build scan (projectnessie#9976)
Browse files Browse the repository at this point in the history
  • Loading branch information
snazy authored Nov 22, 2024
1 parent 86e8e75 commit 1e5f031
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/snapshot-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
validate-wrappers: false

- name: List projects
run: ./gradlew projects
run: ./gradlew --no-scan projects

- name: Gradle / publish snapshot
env:
Expand All @@ -45,14 +45,14 @@ jobs:
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.OSSRH_TOKEN }}
run: |
# 2 Retries - due to Gradle's old and unfixed CME bug
./gradlew compileAll jar || \
./gradlew compileAll jar || \
./gradlew compileAll jar
./gradlew --no-scan compileAll jar || \
./gradlew --no-scan compileAll jar || \
./gradlew --no-scan compileAll jar
# 2 Retries - due to Gradle's old and unfixed CME bug
./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository -Prelease -Puber-jar || \
./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository -Prelease -Puber-jar || \
./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository -Prelease -Puber-jar
./gradlew --no-scan publishToSonatype closeAndReleaseSonatypeStagingRepository -Prelease -Puber-jar || \
./gradlew --no-scan publishToSonatype closeAndReleaseSonatypeStagingRepository -Prelease -Puber-jar || \
./gradlew --no-scan publishToSonatype closeAndReleaseSonatypeStagingRepository -Prelease -Puber-jar
publish-images:
name: Publish Images
Expand All @@ -78,17 +78,17 @@ jobs:
validate-wrappers: false

- name: List projects
run: ./gradlew projects
run: ./gradlew --no-scan projects

- name: Gradle / build
env:
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
run: |
# 2 Retries - due to Gradle's old and unfixed CME bug
./gradlew compileAll jar || \
./gradlew compileAll jar || \
./gradlew compileAll jar
./gradlew --no-scan compileAll jar || \
./gradlew --no-scan compileAll jar || \
./gradlew --no-scan compileAll jar
- name: Docker images publishing
run: |
Expand Down

0 comments on commit 1e5f031

Please sign in to comment.