File tree Expand file tree Collapse file tree 1 file changed +2
-21
lines changed
Expand file tree Collapse file tree 1 file changed +2
-21
lines changed Original file line number Diff line number Diff line change @@ -529,30 +529,11 @@ jobs:
529529 remote_key : ${{ secrets.NIGHTLIES_RSYNC_KEY }}
530530 remote_host_key : ${{ secrets.NIGHTLIES_RSYNC_HOST_KEY }}
531531
532- odbc-check-tags :
533- needs : odbc
534- name : ODBC Check RC Tag
535- runs-on : ubuntu-latest
536- outputs :
537- rc-tag : ${{ steps.check-rc.outputs.rc-tag }}
538- if : github.ref_type == 'tag' && github.repository == 'apache/arrow'
539- steps :
540- - name : Check Arrow RC Tag
541- id : check-rc
542- run : |
543- if [[ "${GITHUB_REF_NAME}" =~ ^apache-arrow-.*-rc.*$ ]]; then
544- echo "RC tag found"
545- echo "rc-tag=true" >> "${GITHUB_OUTPUT}"
546- else
547- echo "RC tag not found"
548- echo "rc-tag=false" >> "${GITHUB_OUTPUT}"
549- fi
550-
551532 odbc-release :
552- needs : odbc-check-tags
533+ needs : odbc
553534 name : ODBC release
554535 runs-on : ubuntu-latest
555- if : needs.odbc-check-tags.outputs.rc-tag == 'true'
536+ if : ${{ startsWith(github.ref_name, 'apache-arrow-') && contains(github.ref_name, '-rc') }}
556537 permissions :
557538 # Upload to GitHub Release
558539 contents : write
You can’t perform that action at this time.
0 commit comments