Skip to content

Commit 435ec64

Browse files
fix: Fixed the release workflow after splitting protobuf folders (#1265)
* Fixed working folder for the script run to create a tarball * Fixed the project name for the maven publish Signed-off-by: Joseph S <121976561+jsync-swirlds@users.noreply.github.com> Signed-off-by: Alfredo Gutierrez Grajeda <alfredo@hashgraph.com> Co-authored-by: Alfredo Gutierrez Grajeda <alfredo@hashgraph.com>
1 parent 71ecf1c commit 435ec64

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/release-push-image.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
java-distribution: ${{ inputs.java-distribution || 'temurin' }}
5151
java-version: ${{ inputs.java-version || '21.0.6' }}
5252

53-
package-block-node-protobuf:
53+
package-protobuf-source:
5454
timeout-minutes: 5
5555
needs: [check-gradle]
5656
runs-on: hiero-block-node-linux-medium
@@ -73,18 +73,18 @@ jobs:
7373
echo "VERSION=${VERSION}" >> $GITHUB_ENV
7474
7575
- name: Produce artifact
76-
working-directory: protobuf
76+
working-directory: protobuf-sources
7777
run: scripts/build-bn-proto.sh -t "efb0134e921b32ed6302da9c93874d65492e876f" -v ${{ env.VERSION }} -o "block-node-protobuf" -i true -b "../src/main/proto/" # CN 0.62.2
7878

7979
- name: Upload artifact
8080
if: "${{ github.event_name != 'workflow_dispatch' || github.event.inputs.publish == 'true' }}"
8181
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
8282
with:
8383
name: block-node-protobuf-${{ env.VERSION }}.tgz
84-
path: ./protobuf/block-node-protobuf-${{ env.VERSION }}.tgz
84+
path: ./protobuf-sources/block-node-protobuf-${{ env.VERSION }}.tgz
8585
if-no-files-found: error
8686

87-
publish-block-node-app:
87+
publish-app:
8888
timeout-minutes: 30
8989
needs: [check-gradle]
9090
runs-on: hiero-block-node-linux-medium
@@ -215,7 +215,7 @@ jobs:
215215
env:
216216
NEXUS_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
217217
NEXUS_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
218-
run: ${GRADLE_EXEC} :block-node-protobuf:releaseMavenCentral -PpublishingPackageGroup=org.hiero.block -PpublishSigningEnabled=true --scan --no-configuration-cache
218+
run: ${GRADLE_EXEC} :block-node-protobuf-sources:releaseMavenCentral -PpublishingPackageGroup=org.hiero.block -PpublishSigningEnabled=true --scan --no-configuration-cache
219219

220220
publish-simulator:
221221
timeout-minutes: 30
@@ -285,9 +285,9 @@ jobs:
285285
build-args: |
286286
VERSION=${{ env.VERSION }}
287287
288-
helm-chart-release-block-node-app:
288+
helm-chart-release-app:
289289
timeout-minutes: 15
290-
needs: publish-block-node-app
290+
needs: publish-app
291291
runs-on: hiero-block-node-linux-medium
292292

293293
steps:

0 commit comments

Comments
 (0)