Skip to content

Commit ecc1eae

Browse files
committed
use build vars
1 parent cb04841 commit ecc1eae

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

.github/workflows/jarbuild.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -109,16 +109,16 @@ jobs:
109109
- name: Extract source archive
110110
run: |
111111
tar -xf apache-arrow-java-*.tar.gz --strip-components=1
112-
- name: Download the latest Apache Arrow C++
113-
if: github.event_name != 'schedule'
114-
run: |
115-
ci/scripts/download_cpp.sh
112+
# - name: Download the latest Apache Arrow C++
113+
# if: github.event_name != 'schedule'
114+
# run: |
115+
# ci/scripts/download_cpp.sh
116116
- name: Checkout Apache Arrow C++
117-
if: github.event_name == 'schedule'
117+
# if: github.event_name == 'schedule'
118118
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
119119
with:
120-
repository: ${arrow_repo}
121-
ref: ${arrow_branch}
120+
repository: ${{github.event.inputs.arrow_repo}}
121+
ref: ${{github.event.inputs.arrow_branch}}
122122
path: arrow
123123
- name: Checkout apache/arrow-testing
124124
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -177,16 +177,16 @@ jobs:
177177
- name: Extract source archive
178178
run: |
179179
tar -xf apache-arrow-java-*.tar.gz --strip-components=1
180-
- name: Download the latest Apache Arrow C++
181-
if: github.event_name != 'schedule'
182-
run: |
183-
ci/scripts/download_cpp.sh
180+
# - name: Download the latest Apache Arrow C++
181+
# if: github.event_name != 'schedule'
182+
# run: |
183+
# ci/scripts/download_cpp.sh
184184
- name: Checkout Apache Arrow C++
185-
if: github.event_name == 'schedule'
185+
# if: github.event_name == 'schedule'
186186
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
187187
with:
188-
repository: ${arrow_repo}
189-
ref: ${arrow_branch}
188+
repository: ${{github.event.inputs.arrow_repo}}
189+
ref: ${{github.event.inputs.arrow_branch}}
190190
path: arrow
191191
- name: Checkout apache/arrow-testing
192192
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -312,8 +312,8 @@ jobs:
312312
# if: github.event_name == 'schedule'
313313
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
314314
with:
315-
repository: ${arrow_repo}
316-
ref: ${arrow_branch}
315+
repository: ${{github.event.inputs.arrow_repo}}
316+
ref: ${{github.event.inputs.arrow_branch}}
317317
path: arrow
318318
- name: Set up Java
319319
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0

0 commit comments

Comments
 (0)