From 2ab4f4bbab2b345c1b25e50f207a62b5f7168d48 Mon Sep 17 00:00:00 2001 From: "Alina (Xi) Li" Date: Thu, 15 Jan 2026 15:15:15 -0800 Subject: [PATCH 1/3] Attempt to start ODBC nightly release Upload ODBC MSI installer to `${{ secrets.NIGHTLIES_RSYNC_PATH }}/arrow/odbc` --- .github/workflows/cpp_extra.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/cpp_extra.yml b/.github/workflows/cpp_extra.yml index f353fe86340..a10c692c418 100644 --- a/.github/workflows/cpp_extra.yml +++ b/.github/workflows/cpp_extra.yml @@ -457,6 +457,26 @@ 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 + - 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 + - name: Sync to Remote + if: github.event_name == 'schedule' + uses: ./arrow/.github/actions/sync-nightlies + with: + upload: true + switches: -avzh --update --delete --progress + local_path: odbc-installer + remote_path: ${{ secrets.NIGHTLIES_RSYNC_PATH }}/arrow/odbc + remote_host: ${{ secrets.NIGHTLIES_RSYNC_HOST }} + remote_port: ${{ secrets.NIGHTLIES_RSYNC_PORT }} + remote_user: ${{ secrets.NIGHTLIES_RSYNC_USER }} + remote_key: ${{ secrets.NIGHTLIES_RSYNC_KEY }} + remote_host_key: ${{ secrets.NIGHTLIES_RSYNC_HOST_KEY }} report-extra-cpp: if: github.event_name == 'schedule' && always() From 189420d695a0420d29250c79058d7d808b225367 Mon Sep 17 00:00:00 2001 From: "Alina (Xi) Li" Date: Fri, 16 Jan 2026 14:08:20 -0800 Subject: [PATCH 2/3] Test workflow and temporarily disable `if` check for schedule --- .github/workflows/cpp_extra.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cpp_extra.yml b/.github/workflows/cpp_extra.yml index a10c692c418..22b09f2304b 100644 --- a/.github/workflows/cpp_extra.yml +++ b/.github/workflows/cpp_extra.yml @@ -459,14 +459,14 @@ jobs: if-no-files-found: error # Upload ODBC installer as nightly release in scheduled runs - name: Prepare ODBC installer for sync - if: github.event_name == 'schedule' + # if: github.event_name == 'schedule' # -AL- for testing purpose, temporarily disable `if` check run: | mkdir odbc-installer - Move-Item build/cpp/Apache Arrow Flight SQL ODBC-*-win64.msi odbc-installer/ - tree odbc-installer + Move-Item "build/cpp/Apache Arrow Flight SQL ODBC-*-win64.msi" odbc-installer/ + tree odbc-installer /f - name: Sync to Remote - if: github.event_name == 'schedule' - uses: ./arrow/.github/actions/sync-nightlies + # if: github.event_name == 'schedule' + uses: ./.github/actions/sync-nightlies with: upload: true switches: -avzh --update --delete --progress From 30524bb60b04c2156c914ecc6221d47a0b4979cd Mon Sep 17 00:00:00 2001 From: "Alina (Xi) Li" Date: Fri, 16 Jan 2026 16:28:22 -0800 Subject: [PATCH 3/3] Re-enable `if` check --- .github/workflows/cpp_extra.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cpp_extra.yml b/.github/workflows/cpp_extra.yml index 22b09f2304b..68f47926ad9 100644 --- a/.github/workflows/cpp_extra.yml +++ b/.github/workflows/cpp_extra.yml @@ -459,13 +459,13 @@ jobs: if-no-files-found: error # Upload ODBC installer as nightly release in scheduled runs - name: Prepare ODBC installer for sync - # if: github.event_name == 'schedule' # -AL- for testing purpose, temporarily disable `if` check + 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 - name: Sync to Remote - # if: github.event_name == 'schedule' + if: github.event_name == 'schedule' uses: ./.github/actions/sync-nightlies with: upload: true