Skip to content

Commit e33512d

Browse files
committed
GH-48841: [Release][Package] Add GH_TOKEN to rake build step on Linux Packaging jobs (#48842)
### Rationale for this change With: - #48839 We use `gh release download`. This requires the GH_TOKEN available. ### What changes are included in this PR? Add env with `GH_TOKEN`. I've validate the Rake's `sh` should inherit the environment variables that are defined on your shell. ### Are these changes tested? No ### Are there any user-facing changes? No * GitHub Issue: #48841 Authored-by: Raúl Cumplido <raulcumplido@gmail.com> Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
1 parent 86d28e9 commit e33512d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/package_linux.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,8 @@ jobs:
230230
${GITHUB_REF_NAME} \
231231
release_candidate.yml
232232
- name: Build
233+
env:
234+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
233235
run: |
234236
pushd dev/tasks/linux-packages
235237
rake docker:pull || :

0 commit comments

Comments
 (0)