kou commented on code in PR #36693:
URL: https://github.com/apache/arrow/pull/36693#discussion_r1264575968


##########
dev/tasks/macros.jinja:
##########
@@ -131,12 +131,16 @@ on:
 {% endmacro %}
 
 {%- macro github_upload_gemfury(pattern) -%}
-  {%- if arrow.is_default_branch() -%}
   - name: Set up Ruby by apt
     if: runner.os == 'Linux' && runner.arch != 'X64'
     run: |
       sudo apt update
       sudo apt install -y ruby-full
+  - name: Set up Ruby by GitHub Actions
+    if: !(runner.os == 'Linux' && runner.arch != 'X64')
+    use: ruby/setup-ruby@1

Review Comment:
   ```suggestion
       uses: ruby/setup-ruby@1
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to