This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new 5a71d2a404 GH-48932: [C++][Packaging][FlightRPC] Fix `rsync` build
error ODBC Nightly Package (#48933)
5a71d2a404 is described below
commit 5a71d2a40495e7e2723145b3de4854d278893e51
Author: Alina (Xi) Li <[email protected]>
AuthorDate: Tue Jan 27 17:13:02 2026 -0800
GH-48932: [C++][Packaging][FlightRPC] Fix `rsync` build error ODBC Nightly
Package (#48933)
### Rationale for this change
#48932
### What changes are included in this PR?
- Fix `rsync` build error ODBC Nightly Package
### Are these changes tested?
- tested in CI
### Are there any user-facing changes?
- After fix, users should be able to get Nightly ODBC package release
* GitHub Issue: #48932
Authored-by: Alina (Xi) Li <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
---
.github/workflows/cpp_extra.yml | 28 ++++++++++++++++++++++------
1 file changed, 22 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/cpp_extra.yml b/.github/workflows/cpp_extra.yml
index 68f47926ad..49995752fa 100644
--- a/.github/workflows/cpp_extra.yml
+++ b/.github/workflows/cpp_extra.yml
@@ -457,16 +457,32 @@ jobs:
name: flight-sql-odbc-msi-installer
path: build/cpp/Apache Arrow Flight SQL ODBC-*-win64.msi
if-no-files-found: error
- # Upload ODBC installer as nightly release in scheduled runs
+
+ odbc-nightly:
+ needs: odbc
+ name: ODBC nightly
+ runs-on: ubuntu-latest
+ if: github.event_name == 'schedule' && github.repository == 'apache/arrow'
+ steps:
+ - name: Download the artifacts
+ uses: actions/download-artifact@v7
+ with:
+ name: flight-sql-odbc-msi-installer
- name: Prepare ODBC installer for sync
- if: github.event_name == 'schedule'
run: |
mkdir odbc-installer
- Move-Item "build/cpp/Apache Arrow Flight SQL ODBC-*-win64.msi"
odbc-installer/
- tree odbc-installer /f
+ mv *.msi odbc-installer/
+ tree odbc-installer
+ - name: Checkout Arrow
+ uses: actions/checkout@v6
+ with:
+ fetch-depth: 1
+ path: arrow
+ repository: apache/arrow
+ ref: main
+ submodules: recursive
- name: Sync to Remote
- if: github.event_name == 'schedule'
- uses: ./.github/actions/sync-nightlies
+ uses: ./arrow/.github/actions/sync-nightlies
with:
upload: true
switches: -avzh --update --delete --progress