Skip to content

Commit

Permalink
ci: latest github actions runners has no R (#331)
Browse files Browse the repository at this point in the history
  • Loading branch information
eitsupi authored Jan 19, 2025
1 parent 8cdf430 commit 8df4c32
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release-lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,8 @@ jobs:
echo 'CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc' >>"$GITHUB_ENV"
echo 'CC=aarch64-linux-gnu-gcc' >>"$GITHUB_ENV"
- name: Set for macOS
# macos latest runner does't have R
if: runner.os == 'macOS'
- name: Set up R
if: runner.os != 'Windows'
uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
Expand All @@ -98,7 +97,7 @@ jobs:
LIB_PATH="$(pwd)/rust/target/${TARGET}/${PRQLR_PROFILE}/${LIB_NAME}.a"
ARTIFACT_NAME="${LIB_NAME}-${LIB_VERSION}-${TARGET}.tar.gz"
if [[ "${{ runner.os }}" == "macOS" ]]; then
if [[ "${{ runner.os }}" != "Windows" ]]; then
# Rinternals header is needed
pushd ..
Rscript -e 'install.packages("pkgbuild")'
Expand Down

0 comments on commit 8df4c32

Please sign in to comment.