File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -242,11 +242,10 @@ test_source_distribution() {
242242}
243243
244244test_apt () {
245- pushd " ${ARROW_TMPDIR} "
246-
247245 show_header " Testing APT packages"
248246
249247 if [ " ${GITHUB_ACTIONS} " = " true" ]; then
248+ pushd " ${TOP_SOURCE_DIR} "
250249 local verify_type=rc
251250 if [ " ${TEST_STAGING:- 0} " -gt 0 ]; then
252251 verify_type=staging-${verify_type}
@@ -266,7 +265,9 @@ test_apt() {
266265 exit 1
267266 fi
268267 done
268+ popd
269269 else
270+ pushd " ${ARROW_TMPDIR} "
270271 curl --get \
271272 --data branch=${VERSION} -rc${RC_NUMBER} \
272273 https://api.github.com/repos/${SOURCE_REPOSITORY} /actions/workflows/verify-rc.yaml/runs > \
@@ -282,9 +283,8 @@ test_apt() {
282283 echo " It was not succeeded: ${conclusion} "
283284 return 1
284285 fi
286+ popd
285287 fi
286-
287- popd
288288}
289289
290290test_binary_distribution () {
You can’t perform that action at this time.
0 commit comments