File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -82,14 +82,17 @@ jobs:
8282 id : project_version
8383 run : echo "version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_OUTPUT
8484
85- - name : Trigger utPLSQL-cli snapshot build
85+ - name : Trigger snapshot builds
8686 if : github.event_name != 'pull_request'
87- uses : peter-evans/repository-dispatch@v3
88- with :
89- token : ${{ secrets.CLI_REPO_TOKEN }}
90- repository : utPLSQL/utPLSQL-cli
91- event-type : utPLSQL-java-api-build
92- client-payload : ' {"api_version": "${{ steps.project_version.outputs.version }}"}'
87+ env :
88+ GH_TOKEN : ${{ secrets.CLI_REPO_TOKEN }}
89+ run : |
90+ for repo in utPLSQL/utPLSQL-cli utPLSQL/utPLSQL-maven-plugin; do
91+ gh api repos/$repo/dispatches \
92+ --method POST \
93+ --field event_type=utPLSQL-java-api-build \
94+ --field client_payload='{"api_version":"${{ steps.project_version.outputs.version }}"}'
95+ done
9396
9497 - name : Publish unit test results
9598 uses : EnricoMi/publish-unit-test-result-action@v2
You can’t perform that action at this time.
0 commit comments