Skip to content

Commit

Permalink
bug: fix GHA
Browse files Browse the repository at this point in the history
jimbrig committed Sep 14, 2024

Verified

This commit was signed with the committer’s verified signature.
jimbrig Jimmy Briggs
1 parent e772c23 commit b8d7141
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/news.yml
Original file line number Diff line number Diff line change
@@ -31,9 +31,17 @@ jobs:
with:
use-public-rspm: true

- name: Install pak
run: |
Rscript -e 'install.packages("pak", repos = sprintf("https://r-lib.github.io/p/pak/stable/%s/%s/%s", .Platform$pkgType, R.Version()$os, R.Version()$arch))'
- name: Install Package Dependencies
run: |
Rscript -e 'pak::local_install_deps(".", upgrade=FALSE, ask=FALSE, dependencies = TRUE)'
- name: Generate NEWS.md
run: |
Rscript -e 'pak::local_install_deps(".", upgrade=FALSE, ask=FALSE, dependencies = TRUE); pkgload::load_all(); noclocksr::generate_news(output_file = "NEWS.md", input_file = "CHANGELOG.md", overwrite = TRUE)'
Rscript -e 'pkgload::load_all(); noclocksr::generate_news(output_file = "NEWS.md", input_file = "CHANGELOG.md", overwrite = TRUE)'
- name: Commit and push changes
run: |

0 comments on commit b8d7141

Please sign in to comment.