commit 4b824718a4bf90818ad1047ea44f5432b1921830
parent 158f52d41106006a4337aa1fd57d7bddfa3d71ab
Author: Jon Harmon <jonthegeek@gmail.com>
Date: Fri, 9 Dec 2022 14:08:16 -0600
Update GHA. (#37)
* Update GHA.
* Update README to current instructions.
Diffstat:
3 files changed, 7 insertions(+), 12 deletions(-)
diff --git a/.github/workflows/deploy_bookdown.yml b/.github/workflows/deploy_bookdown.yml
@@ -12,10 +12,10 @@ jobs:
name: Render-Book
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- uses: r-lib/actions/setup-r@v2
with:
- r-version: '4.2.0'
+ r-version: '4.2.2'
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r-dependencies@v2
with:
@@ -39,7 +39,7 @@ jobs:
- name: Checkout
uses: actions/checkout@main
- name: Download artifact
- uses: actions/download-artifact@v1.0.0
+ uses: actions/download-artifact@v3
with:
# Artifact name
name: _book # optional
diff --git a/.github/workflows/pr_check.yml b/.github/workflows/pr_check.yml
@@ -11,10 +11,10 @@ jobs:
name: pr_check_book
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- uses: r-lib/actions/setup-r@v2
with:
- r-version: '4.2.0'
+ r-version: '4.2.2'
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r-dependencies@v2
with:
diff --git a/README.md b/README.md
@@ -30,13 +30,8 @@ To present, follow these instructions:
Do these steps once:
-1. [Setup Github Locally](https://www.youtube.com/watch?v=hNUNPkoledI) (also see [_Happy Git and GitHub for the useR_](https://happygitwithr.com/github-acct.html))
-2. Install {usethis} and {devtools} `install.packages(c("usethis", "devtools"))`
-3. Set up a default {usethis} directory:
- - `usethis::edit_r_profile()` to open your profile for editing.
- - Add this line: `options(usethis.destdir = "YOURDIR")` (replace `YOURDIR` with the root directory under which you want your R projects to appear; or you can skip these steps, and the project will be saved to your Desktop).
- - Restart your R session (Session/Restart R in Rstudio).
-4. `usethis::create_from_github("r4ds/bookclub-advr")` (cleanly creates your own copy of this repository).
+1. [Setup Git and GitHub to work with RStudio](https://github.com/r4ds/bookclub-setup) (click through for detailed, step-by-step instructions; I recommend checking this out even if you're pretty sure you're all set).
+2. `usethis::create_from_github("r4ds/bookclub-advr")` (cleanly creates your own copy of this repository).
Do these steps each time you present another chapter: