Skip to content

Commit 894d6a3

Browse files
authored
GH-48872: [C++][FlightRPC][CI][Packaging] Upload ODBC to Nightly Release (#48873)
### Rationale for this change #48872 ### What changes are included in this PR? - Upload Flight SQL ODBC installer msi file to Nightly release `https://nightlies.apache.org/arrow/odbc/` ### Are these changes tested? since we cannot use secrets in PRs, the changes will take in effect after merge ### Are there any user-facing changes? Yes, Apache Arrow Flight SQL ODBC installer msi file will be uploaded to Nightly releases. GitHub release will be in a separate PR. * GitHub Issue: #48872 Authored-by: Alina (Xi) Li <alina.li@improving.com> Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
1 parent 7b99930 commit 894d6a3

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/cpp_extra.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,26 @@ jobs:
457457
name: flight-sql-odbc-msi-installer
458458
path: build/cpp/Apache Arrow Flight SQL ODBC-*-win64.msi
459459
if-no-files-found: error
460+
# Upload ODBC installer as nightly release in scheduled runs
461+
- name: Prepare ODBC installer for sync
462+
if: github.event_name == 'schedule'
463+
run: |
464+
mkdir odbc-installer
465+
Move-Item "build/cpp/Apache Arrow Flight SQL ODBC-*-win64.msi" odbc-installer/
466+
tree odbc-installer /f
467+
- name: Sync to Remote
468+
if: github.event_name == 'schedule'
469+
uses: ./.github/actions/sync-nightlies
470+
with:
471+
upload: true
472+
switches: -avzh --update --delete --progress
473+
local_path: odbc-installer
474+
remote_path: ${{ secrets.NIGHTLIES_RSYNC_PATH }}/arrow/odbc
475+
remote_host: ${{ secrets.NIGHTLIES_RSYNC_HOST }}
476+
remote_port: ${{ secrets.NIGHTLIES_RSYNC_PORT }}
477+
remote_user: ${{ secrets.NIGHTLIES_RSYNC_USER }}
478+
remote_key: ${{ secrets.NIGHTLIES_RSYNC_KEY }}
479+
remote_host_key: ${{ secrets.NIGHTLIES_RSYNC_HOST_KEY }}
460480

461481
report-extra-cpp:
462482
if: github.event_name == 'schedule' && always()

0 commit comments

Comments
 (0)