Skip to content

Commit fc1c46e

Browse files
committed
Use aurelien-baudet/workflow-dispatch GHA
We need to wait until `verify-staged` job is OK, so, use `aurelien-baudet/workflow-dispatch` which has an ability to poll the triggered job until it is done.
1 parent f427341 commit fc1c46e

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/spring-artifactory-release.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,13 @@ jobs:
8484
runs-on: ubuntu-latest
8585
steps:
8686

87-
- uses: actions/checkout@v4
88-
with:
89-
show-progress: false
90-
9187
- name: Call smoke tests workflow
92-
run: gh workflow run verify-staged-artifacts.yml -r ${{ github.ref_name }} -f releaseVersion=${{ needs.releaseVersion.outputs.releaseVersion }}
88+
uses: aurelien-baudet/workflow-dispatch@v2
89+
with:
90+
workflow: verify-staged-artifacts.yml
91+
workflow-logs: print
92+
token: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
93+
inputs: '{ "releaseVersion": "${{ inputs.releaseVersion }}" }'
9394

9495
promote-milestone:
9596
needs: [releaseVersion, staging, verify-staged]

0 commit comments

Comments
 (0)