workaround for broken publishing of buildinfo (#6856)

Signed-off-by: Justin Florentine <justin+github@florentine.us>
pull/6859/head
Justin Florentine 8 months ago committed by GitHub
parent 34fc5eed58
commit 5ea9cd64c2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 17
      .github/workflows/artifacts.yml
  2. 1
      build.gradle

@ -46,11 +46,7 @@ jobs:
path: 'build/distributions/besu*.zip' path: 'build/distributions/besu*.zip'
name: besu-${{ github.ref_name }}.zip name: besu-${{ github.ref_name }}.zip
compression-level: 0 compression-level: 0
- name: Artifactory Publish
env:
ARTIFACTORY_USER: ${{ secrets.BESU_ARTIFACTORY_USER }}
ARTIFACTORY_KEY: ${{ secrets.BESU_ARTIFACTORY_TOKEN }}
run: ./gradlew -Prelease.releaseVersion=${{ github.ref_name }} -Pversion=${{github.ref_name}} artifactoryPublish
testWindows: testWindows:
runs-on: windows-2022 runs-on: windows-2022
needs: artifacts needs: artifacts
@ -94,4 +90,13 @@ jobs:
build/distributions/besu*.zip build/distributions/besu*.zip
body: | body: |
${{steps.hashes.outputs.tarSha}} ${{steps.hashes.outputs.tarSha}}
${{steps.hashes.outputs.zipSha}} ${{steps.hashes.outputs.zipSha}}
arifactoryPublish:
runs-on: ubuntu-22.04
needs: artifacts
steps:
- name: Artifactory Publish
env:
ARTIFACTORY_USER: ${{ secrets.BESU_ARTIFACTORY_USER }}
ARTIFACTORY_KEY: ${{ secrets.BESU_ARTIFACTORY_TOKEN }}
run: ./gradlew -Prelease.releaseVersion=${{ github.ref_name }} -Pversion=${{github.ref_name}} artifactoryPublish

@ -499,6 +499,7 @@ subprojects {
password = artifactoryKey password = artifactoryKey
} }
defaults { defaults {
publishBuildInfo = false //currently 404'ing still to be investigated
publications('mavenJava') publications('mavenJava')
publishArtifacts = true publishArtifacts = true
publishPom = true publishPom = true

Loading…
Cancel
Save