Skip to content

Commit 50cd609

Browse files
committed
[CI] Add GHA to deploy stream apps to central (take 4)
Signed-off-by: Chris Bono <chris.bono@broadcom.com>
1 parent a98bfa4 commit 50cd609

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/stream-apps-release-maven-central.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ jobs:
3838
jfrog rt download \
3939
--spec ".github/stream-apps-release-files-spec.json" \
4040
--spec-vars "buildname=${{ inputs.buildName }};buildnumber=${{ inputs.buildNumber }}"
41-
- id: get-artifact-dirs
41+
- name: Get artifacts dirs to upload
42+
id: get-artifact-dirs
4243
run: |
4344
pushd central_bundle/org/springframework/cloud/stream/app > /dev/null
4445
DIRS=$(find * -maxdepth 0 -type d)
@@ -49,11 +50,11 @@ jobs:
4950
runs-on: ubuntu-latest
5051
strategy:
5152
matrix:
52-
dir: ${{ fromJson(needs.download-all-release-artifacts.outputs.dirs) }}
53+
app-dir: ${{ fromJson(needs.download-all-release-artifacts.outputs.dirs) }}
5354
steps:
54-
- name: Deploy ${{ matrix.dir }} to Maven Central
55+
- name: Deploy ${{ matrix.app-dir }} to Maven Central
5556
uses: spring-io/central-publish-action@v0.3.0
5657
with:
5758
token-name: ${{ secrets.CENTRAL_TOKEN_USERNAME }}
5859
token: ${{ secrets.CENTRAL_TOKEN_PASSWORD }}
59-
dir: ${{ matrix.dir }}
60+
dir: ${{ matrix.app-dir }}

0 commit comments

Comments
 (0)