Skip to content

Commit 1c600f4

Browse files
authored
Merge pull request #2 from LibraryCarpentry/1-failed-build
fix the sandpaper-main.yaml in workflow
2 parents cca04e5 + d83c1d5 commit 1c600f4

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/sandpaper-main.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ on:
2121
jobs:
2222
full-build:
2323
name: "Build Full Site"
24-
runs-on: ubuntu-latest
24+
25+
# 2024-10-01: ubuntu-latest is now 24.04 and R is not installed by default in the runner image
26+
# pin to 22.04 for now
27+
runs-on: ubuntu-22.04
2528
permissions:
2629
checks: write
2730
contents: write
@@ -32,7 +35,7 @@ jobs:
3235
steps:
3336

3437
- name: "Checkout Lesson"
35-
uses: actions/checkout@v3
38+
uses: actions/checkout@v4
3639

3740
- name: "Set up R"
3841
uses: r-lib/actions/setup-r@v2
@@ -58,4 +61,4 @@ jobs:
5861
reset <- "${{ github.event.inputs.reset }}" == "true"
5962
sandpaper::package_cache_trigger(TRUE)
6063
sandpaper:::ci_deploy(reset = reset)
61-
shell: Rscript {0}
64+
shell: Rscript {0}

0 commit comments

Comments
 (0)