@@ -44,21 +44,35 @@ jobs:
4444 runs-on : ubuntu-latest
4545 timeout-minutes : 5
4646 steps :
47- - name : Print input values to log
47+ - name : Trim workflow inputs
4848 run : |
49- echo "arrow_branch: ${{github.event.inputs.arrow_branch}}"
50- echo "arrow_repo: ${{github.event.inputs.arrow_repo}}"
51- echo "release_tag_name: ${{github.event.inputs.release_tag_name}}"
49+ echo "ARROW_BRANCH=$(echo '${{github.event.inputs.arrow_branch}}' | xargs)" >> $GITHUB_ENV
50+ echo "ARROW_REPO=$(echo '${{github.event.inputs.arrow_repo}}' | xargs)" >> $GITHUB_ENV
51+ echo "RELEASE_TAG_NAME=$(echo '${{github.event.inputs.release_tag_name}}' | xargs)" >> $GITHUB_ENV
52+ - name : Print workflow input parameters
53+ run : |
54+ echo "=========================================="
55+ echo "Workflow Input Parameters"
56+ echo "=========================================="
57+ echo "arrow_branch: ${{env.ARROW_BRANCH}}"
58+ echo "arrow_repo: ${{env.ARROW_REPO}}"
59+ echo "release_tag_name: ${{env.RELEASE_TAG_NAME}}"
60+ echo "arrow-java branch: ${{github.ref_name}}"
61+ echo ""
62+ echo "Direct Links:"
63+ echo "----------------------------------------"
64+ echo "Arrow C++ repo/branch: https://github.com/${{env.ARROW_REPO}}/tree/${{env.ARROW_BRANCH}}"
65+ echo "Arrow Java repo/branch: https://github.com/${{github.repository}}/tree/${{github.ref_name}}"
66+ echo "Release tag: https://github.com/${{github.repository}}/releases/tag/${{env.RELEASE_TAG_NAME}}"
67+ echo "=========================================="
5268 - name : Checkout
5369 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5470 with :
5571 submodules : recursive
56- - name : Set env
57- run : echo "release_tag_name=$(echo $release_tag_name)" >> $GITHUB_ENV
5872 - name : Prepare for tag
5973 run : |
60- echo "${{github.event.inputs.release_tag_name }}"
61- ver=$(echo ${{github.event.inputs.release_tag_name }})
74+ echo "${{env.RELEASE_TAG_NAME }}"
75+ ver=$(echo ${{env.RELEASE_TAG_NAME }})
6276 version=${ver%-rc*}
6377 version=${version#v}
6478 rc=${ver#*-rc}
0 commit comments