Skip to content

Commit 737ab70

Browse files
authored
Improve R dependency installation
1 parent cc23c3d commit 737ab70

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/add-doi.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ jobs:
3838
3939
- name: Set up R
4040
uses: r-lib/actions/setup-r@v2
41-
42-
- name: Install dependencies
43-
run: |
44-
install.packages(c("yaml", "httr"))
45-
41+
- uses: r-lib/actions/setup-r-dependencies@v2
42+
with:
43+
packages: |
44+
yaml
45+
httr
4646
- name: Find new posts and query API
4747
env:
4848
CHANGED_FILES: ${{ steps.changed-files.outputs.result }}

0 commit comments

Comments
 (0)