assignUser commented on code in PR #13556:
URL: https://github.com/apache/arrow/pull/13556#discussion_r972223827


##########
dev/tasks/docker-tests/github.linux.yml:
##########
@@ -31,6 +31,8 @@ jobs:
 
       - name: Execute Docker Build
         shell: bash
+        env:
+        {{ macros.github_set_sccache_envvars()|indent(8) }}

Review Comment:
   Indentation with jinja is a bit hard to determine wihtout actually rendering 
the template in my experience. There is some trimming happening by default and 
than this is a nested macro that adds another layer of  whitespace, I tried 
stripping manually but that also removes the new line after `env:`  and messes 
everything up completely.... 
   
   This template is used e.g. in the conan builds and renders correctly with 
this setting:
   ```yml      
        - name: Execute Docker Build
           shell: bash
           env:
             AWS_SECRET_ACCESS_KEY: "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
             AWS_ACCESS_KEY_ID: "${{ secrets.AWS_ACCESS_KEY_ID }}"
             SCCACHE_BUCKET: "${{ secrets.SCCACHE_BUCKET }}"
             SCCACHE_S3_KEY_PREFIX: "sccache"
   ```



-- 
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