Skip to content

Commit

Permalink
apacheGH-45069: [R][CI] Fix r-binary-packages crossbow job (apache#45070
Browse files Browse the repository at this point in the history
)

### Rationale for this change

GitHub phased out R from their Ubuntu images in their 24.04 image and this job started failing because of it. We now need to install R ourselves if a job needs it and uses ubuntu-latest (>=24.04).

### What changes are included in this PR?

Change in GHA workflow config to always install R.

### Are these changes tested?

They're testing here with crossbow.

### Are there any user-facing changes?

No.

* GitHub Issue: apache#45069

Authored-by: Bryce Mecum <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
  • Loading branch information
amoeba authored Dec 19, 2024
1 parent b655852 commit 6f66f1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev/tasks/r/github.packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- uses: r-lib/actions/setup-r@v2
with:
install-r: false
install-r: true

- name: Build R source package
shell: bash
Expand Down Expand Up @@ -447,7 +447,7 @@ jobs:
- name: Install R
uses: r-lib/actions/setup-r@v2
with:
install-r: false
install-r: true
- name: Rename artifacts
shell: Rscript {0}
run: |
Expand Down

0 comments on commit 6f66f1f

Please sign in to comment.