Skip to content

Commit

Permalink
apacheGH-41088: [CI][Crossbow] Fix GitHub Actions workflow syntax error
Browse files Browse the repository at this point in the history
We can't use multiple top-level `env:` in workflow. apacheGH-40949
introduced a top-level `env:` by `macros.github_header()`. It broke
workflows that already have top-level `env:`.
  • Loading branch information
kou committed Apr 9, 2024
1 parent 8334192 commit 7c26fed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions dev/tasks/python-wheels/github.osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
{% import 'macros.jinja' as macros with context %}

{{ macros.github_header() }}

env:
# env: is generated by macros.github_header()
ARROW_JEMALLOC: "{{ arrow_jemalloc }}"
CC: "clang"
CMAKE_BUILD_TYPE: release
Expand Down
3 changes: 1 addition & 2 deletions dev/tasks/verify-rc/github.macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
{{ macros.github_header() }}

{% set use_conda = use_conda|default(False) %}

env:
# env: is generated by macros.github_header()
# Current oldest supported version according to https://endoflife.date/macos
MACOSX_DEPLOYMENT_TARGET: "10.15"

Expand Down

0 comments on commit 7c26fed

Please sign in to comment.