Skip to content

Commit

Permalink
setup-r-dependencies: merge lockfile cleanup step into previous
Browse files Browse the repository at this point in the history
For simplicity.
  • Loading branch information
gaborcsardi committed May 8, 2024
1 parent 1159dc9 commit 6d13c6a
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions setup-r-dependencies/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,14 +146,7 @@ runs:
Sys.setenv("PKGCACHE_HTTP_VERSION" = "2")
library(pak, lib.loc = Sys.getenv("R_LIB_FOR_PAK"))
pak::lockfile_install(".github/pkg.lock")
cat("::endgroup::\n")
shell: Rscript {0}
working-directory: ${{ inputs.working-directory }}

- name: Clean up lock file
run: |
# Clean up lock file
cat("::group::Clean up lock file\n")
## Clean up lock file
unlink(".github/pkg.lock")
cat("::endgroup::\n")
shell: Rscript {0}
Expand Down

0 comments on commit 6d13c6a

Please sign in to comment.