This is an automated email from the ASF dual-hosted git repository. arm pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tooling-actions.git
commit 908ce3f477a7508434fb77b118f8ff97af2bd922 Author: Alastair McFarlane <[email protected]> AuthorDate: Wed Jan 14 13:10:01 2026 +0000 Fix one report and add back an env var --- .github/workflows/distribute-maven.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/distribute-maven.yml b/.github/workflows/distribute-maven.yml index fdf4aa9..131a25c 100644 --- a/.github/workflows/distribute-maven.yml +++ b/.github/workflows/distribute-maven.yml @@ -186,6 +186,7 @@ jobs: INPUTS_DISTRIBUTION_PACKAGE: ${{ inputs.distribution-package }} INPUTS_DISTRIBUTION_VERSION: ${{ inputs.distribution-version }} INPUTS_STAGING: ${{ inputs.staging }} + INPUTS_DETAILS: "false" JWT: ${{ steps.create-github-jwt.outputs.jwt }} - name: Report status back to ATR @@ -199,11 +200,11 @@ jobs: esac jq -n --arg publisher github \ --arg jwt "$JWT" \ - --arg workflow github \ + --arg workflow "$WORKFLOW" \ --arg run_id $RUN_ID \ --arg project_name "$INPUTS_PROJECT" \ --arg status "failed" \ - '{publisher:$publisher, jwt:$jwt, workflow:$workflow, run_id:$run_id, project_name:$project_name, status:$status, message:"Failed"}' | + '{publisher:$publisher, jwt:$jwt, workflow:$workflow, run_id:$run_id, project_name:$project_name, status:$status, message:"GitHub workflow failed"}' | curl -sS --fail-with-body -X POST -H 'Content-Type: application/json' -d @- \ "https://${ATR_HOST}/api/distribute/task/status" env: @@ -212,7 +213,7 @@ jobs: STATUS: ${{ job.status }} INPUTS_PROJECT: ${{ inputs.project }} - + - name: Report status back to ATR shell: bash if: success() @@ -228,11 +229,11 @@ jobs: --arg run_id $RUN_ID \ --arg project_name "$INPUTS_PROJECT" \ --arg status "success" \ - '{publisher:$publisher, jwt:$jwt, workflow:$workflow, run_id:$run_id, project_name:$project_name, status:'$status' message:"Completed"}' | + '{publisher:$publisher, jwt:$jwt, workflow:$workflow, run_id:$run_id, project_name:$project_name, status:$status, message:"GitHub workflow succeeded"}' | curl -sS --fail-with-body -X POST -H 'Content-Type: application/json' -d @- \ "https://${ATR_HOST}/api/distribute/task/status" env: JWT: ${{ steps.create-github-jwt.outputs.jwt }} RUN_ID: ${{ github.run_id }} STATUS: ${{ job.status }} - INPUTS_PROJECT: ${{ inputs.project }} \ No newline at end of file + INPUTS_PROJECT: ${{ inputs.project }} --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
