Skip to content

Commit c9cd5eb

Browse files
jfloamsmota
authored andcommitted
workaround for broken publishing of buildinfo (besu-eth#6856)
Signed-off-by: Justin Florentine <justin+github@florentine.us> Signed-off-by: amsmota <antonio.mota@citi.com>
1 parent 6ef9e2a commit c9cd5eb

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

.github/workflows/artifacts.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,7 @@ jobs:
4646
path: 'build/distributions/besu*.zip'
4747
name: besu-${{ github.ref_name }}.zip
4848
compression-level: 0
49-
- name: Artifactory Publish
50-
env:
51-
ARTIFACTORY_USER: ${{ secrets.BESU_ARTIFACTORY_USER }}
52-
ARTIFACTORY_KEY: ${{ secrets.BESU_ARTIFACTORY_TOKEN }}
53-
run: ./gradlew -Prelease.releaseVersion=${{ github.ref_name }} -Pversion=${{github.ref_name}} artifactoryPublish
49+
5450
testWindows:
5551
runs-on: windows-2022
5652
needs: artifacts
@@ -94,4 +90,13 @@ jobs:
9490
build/distributions/besu*.zip
9591
body: |
9692
${{steps.hashes.outputs.tarSha}}
97-
${{steps.hashes.outputs.zipSha}}
93+
${{steps.hashes.outputs.zipSha}}
94+
arifactoryPublish:
95+
runs-on: ubuntu-22.04
96+
needs: artifacts
97+
steps:
98+
- name: Artifactory Publish
99+
env:
100+
ARTIFACTORY_USER: ${{ secrets.BESU_ARTIFACTORY_USER }}
101+
ARTIFACTORY_KEY: ${{ secrets.BESU_ARTIFACTORY_TOKEN }}
102+
run: ./gradlew -Prelease.releaseVersion=${{ github.ref_name }} -Pversion=${{github.ref_name}} artifactoryPublish

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,7 @@ subprojects {
499499
password = artifactoryKey
500500
}
501501
defaults {
502+
publishBuildInfo = false //currently 404'ing still to be investigated
502503
publications('mavenJava')
503504
publishArtifacts = true
504505
publishPom = true

0 commit comments

Comments
 (0)