Skip to content

Commit

Permalink
fix: explicity reinstall bslib to a stable old version after all the …
Browse files Browse the repository at this point in the history
…update is done
  • Loading branch information
vedhav committed Dec 11, 2023
1 parent 63176bd commit a989a76
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ jobs:
lockfile <- renv::lockfile_read()
pkg_name_structure <- ifelse("${{ matrix.channel }}" == "stable", "%s/%s@*release", "%s/%s")
for (package in lockfile$Packages) {
if (package$Source == "GitHub" && package$Package != "bslib") { # TODO: After teal.slice is released we can start updating bslib too
if (package$Source == "GitHub") {
renv::record(sprintf(pkg_name_structure, package$RemoteUsername, package$Package))
}
}
Expand All @@ -150,6 +150,7 @@ jobs:
github_pkgs <- names(lockfile_pkgs)[sapply(lockfile_pkgs, function(x) x$Source == "GitHub")]
renv::restore(clean = TRUE)
renv::update(exclude = github_pkgs)
renv::install('[email protected]') # TODO: After teal.slice is released we can start updating bslib too
renv::snapshot()
- name: Print the new renv.lock file for ${{ matrix.directory }}
Expand Down

0 comments on commit a989a76

Please sign in to comment.