Skip to content

Commit

Permalink
Add if to check default branch back
Browse files Browse the repository at this point in the history
  • Loading branch information
raulcd committed Jul 31, 2023
1 parent a1c2591 commit 001362e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dev/tasks/macros.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ 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: |
Expand Down Expand Up @@ -162,6 +163,7 @@ on:
env:
CROSSBOW_GEMFURY_TOKEN: {{ '${{ secrets.CROSSBOW_GEMFURY_TOKEN }}' }}
CROSSBOW_GEMFURY_ORG: {{ '${{ secrets.CROSSBOW_GEMFURY_ORG }}' }}
{% endif %}
{% endmacro %}

{%- macro azure_checkout_arrow() -%}
Expand Down

0 comments on commit 001362e

Please sign in to comment.