Skip to content

Commit

Permalink
ci: refactor arm64 linux detection (#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
eitsupi authored Jan 19, 2025
1 parent 43f5de2 commit 328b75c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
uses: r-lib/actions/setup-r@v2
with:
# TODO: `true` after rspm supports arm linux <https://github.com/r-lib/actions/issues/960>
use-public-rspm: ${{ matrix.os != 'ubuntu-22.04-arm' }}
use-public-rspm: ${{ runner.os != 'Linux' || runner.arch != 'ARM64' }}
Ncpus: 2

- uses: r-lib/actions/setup-r-dependencies@v2
Expand Down Expand Up @@ -177,7 +177,7 @@ jobs:
with:
r-version: ${{ matrix.r }}
# TODO: `true` after rspm supports arm linux <https://github.com/r-lib/actions/issues/960>
use-public-rspm: ${{ matrix.os != 'ubuntu-22.04-arm' }}
use-public-rspm: ${{ runner.os != 'Linux' || runner.arch != 'ARM64' }}
Ncpus: "2"

- uses: r-lib/actions/setup-r-dependencies@v2
Expand Down

0 comments on commit 328b75c

Please sign in to comment.