This is an automated email from the ASF dual-hosted git repository. JingsongLi pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/paimon-full-text.git
commit 3684c2a84f044a9dd1ff1aa3dd2b93b246421462 Author: JingsongLi <[email protected]> AuthorDate: Tue Nov 3 23:25:41 2026 +0800 Fix release workflows for current ASF action approvals --- .github/workflows/release-python-publish.yml | 4 ++-- .github/workflows/release-python.yml | 4 ++-- tools/deploy_java_staging.sh | 7 +++++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release-python-publish.yml b/.github/workflows/release-python-publish.yml index ebaa391..939257e 100644 --- a/.github/workflows/release-python-publish.yml +++ b/.github/workflows/release-python-publish.yml @@ -81,7 +81,7 @@ jobs: - name: Publish to TestPyPI if: contains(github.ref_name, '-rc') - uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e + uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3 with: repository-url: https://test.pypi.org/legacy/ skip-existing: true @@ -90,7 +90,7 @@ jobs: - name: Publish to PyPI if: ${{ !contains(github.ref_name, '-') }} - uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e + uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3 with: skip-existing: true packages-dir: dist diff --git a/.github/workflows/release-python.yml b/.github/workflows/release-python.yml index eb02090..f8242c4 100644 --- a/.github/workflows/release-python.yml +++ b/.github/workflows/release-python.yml @@ -63,12 +63,12 @@ jobs: python-version: "3.12" - name: Build wheels via cibuildwheel - uses: pypa/cibuildwheel@294735312765b09d24a2fbec22660ce817587d55 + uses: pypa/cibuildwheel@f9b966cfadf4109556cadc5bb39ddb72d0ce664e # v4.3.5 with: package-dir: python output-dir: wheelhouse env: - CIBW_BUILD: "cp39-manylinux_${{ matrix.arch }}" + CIBW_BUILD: "cp312-manylinux_${{ matrix.arch }}" CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28 CIBW_MANYLINUX_AARCH64_IMAGE: manylinux_2_28 CIBW_ENVIRONMENT: "PAIMON_FTINDEX_RUST_TARGET=${{ matrix.target }}" diff --git a/tools/deploy_java_staging.sh b/tools/deploy_java_staging.sh index bc552de..ee00451 100755 --- a/tools/deploy_java_staging.sh +++ b/tools/deploy_java_staging.sh @@ -247,7 +247,7 @@ check_java_package_inputs_clean validate_github_run() { local run_output - local run_info + local run_info=() if ! run_output=$( gh run view "$RUN_ID" \ --repo "$REPO" \ @@ -257,7 +257,10 @@ validate_github_run() { echo "Failed to read GitHub Actions run: $RUN_ID" >&2 exit 1 fi - mapfile -t run_info <<<"$run_output" + local run_info_line + while IFS= read -r run_info_line; do + run_info+=("$run_info_line") + done <<<"$run_output" local run_status=${run_info[0]:-} local run_conclusion=${run_info[1]:-}
