Skip to content

Commit e454dd2

Browse files
committed
Change odbc_msi_upload to boolean input
Change `odbc-msvc-upload-dll` to be triggered via rc tag and can be invoked manually
1 parent 95bc75b commit e454dd2

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

.github/workflows/cpp_extra.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,11 @@ on:
7575
0 0 * * *
7676
workflow_dispatch:
7777
inputs:
78-
odbc_upload:
79-
description: 'ODBC Component Upload'
78+
odbc_msi_upload:
79+
description: 'ODBC Unsigned MSI Upload'
8080
required: true
81-
default: 'dll'
82-
type: choice
83-
options:
84-
- dll
85-
- msi
81+
default: false
82+
type: boolean
8683

8784
concurrency:
8885
group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }}
@@ -579,7 +576,12 @@ jobs:
579576
needs: check-labels
580577
name: ODBC Windows Upload Unsigned DLL
581578
runs-on: windows-2022
582-
if: inputs.odbc_upload == 'dll'
579+
if: >-
580+
${{
581+
startsWith(github.ref_name, 'apache-arrow-') &&
582+
contains(github.ref_name, '-rc') &&
583+
!inputs.odbc_msi_upload
584+
}}
583585
timeout-minutes: 240
584586
permissions:
585587
packages: write
@@ -642,7 +644,7 @@ jobs:
642644
needs: check-labels
643645
name: ODBC Windows Upload Unsigned MSI
644646
runs-on: windows-2022
645-
if: inputs.odbc_upload == 'msi'
647+
if: inputs.odbc_msi_upload
646648
timeout-minutes: 240
647649
permissions:
648650
# Upload to GitHub Release

0 commit comments

Comments
 (0)