Skip to content

Commit c6a15d6

Browse files
Copilotosorensen
andcommitted
Make Debian workflow more robust and reusable
Co-authored-by: osorensen <21175639+osorensen@users.noreply.github.com>
1 parent e4e060e commit c6a15d6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/debian-cran-check.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ jobs:
2020

2121
- name: Install package dependencies
2222
run: |
23-
R -e 'install.packages(c("remotes", "rcmdcheck"), repos = "https://cloud.r-project.org")'
23+
R -e 'install.packages("remotes", repos = "https://cloud.r-project.org")'
2424
R -e 'remotes::install_deps(dependencies = TRUE)'
2525
2626
- name: Run R CMD check with --as-cran
2727
run: |
2828
cd ..
29-
R CMD build --no-manual BayesMallowsSMC2
30-
R CMD check --as-cran BayesMallowsSMC2*.tar.gz
29+
R CMD build --no-manual ${GITHUB_REPOSITORY#*/}
30+
R CMD check --as-cran ${GITHUB_REPOSITORY#*/}*.tar.gz

0 commit comments

Comments
 (0)