Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Henrik Sparre Spiegelhauer (HSPU) committed Apr 16, 2024
1 parent 355b14e commit 63dc36b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/R-CMD-check-versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,20 @@
- name: Determine the CRAN image to use
id: cran-image
run: |
if ("${{ matrix.config.date }}" == "latest") {
if [ "${{ matrix.config.date }}" == "latest" ]; then
echo "::set-output name=image::https://packagemanager.posit.co/cran"
} else {
else
echo "::set-output name=image::https://packagemanager.posit.co/cran/${{ matrix.config.date }}"
}
fi
shell: bash

- name: Debug image
run: |
echo ${{ steps.cran-image.outputs.image }}
shell: bash

- uses: ./.github/actions/setup-r-dependencies.yaml
- name: Install R dependencies (custom)
uses: ./.github/actions/setup-r-dependencies.yaml
with:
cache: true
dependency_repo: ${{ steps.cran-image.outputs.image }}
Expand Down

0 comments on commit 63dc36b

Please sign in to comment.