From c92a7a9e2691be69072f6b15b3256db0735cbd2e Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Wed, 26 Jun 2024 18:17:51 +0200 Subject: [PATCH] Update --- .github/workflows/rhub.yaml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rhub.yaml b/.github/workflows/rhub.yaml index ffc5d76b..19023d27 100644 --- a/.github/workflows/rhub.yaml +++ b/.github/workflows/rhub.yaml @@ -46,9 +46,9 @@ jobs: with: token: ${{ secrets.RHUB_TOKEN }} job-config: ${{ matrix.config.job-config }} - - name: Setup custom dependencies + - name: Prepare DESCRIPTION file run: | - wget https://gist.githubusercontent.com/pawelru/2efd7db65436a558ac050cefe23e3306/raw/599d71e3f1ca1b79237b199f316a745e6b533996/new_staged_deps.R + wget https://gist.githubusercontent.com/pawelru/2efd7db65436a558ac050cefe23e3306/raw/5672eb997585893197b1ca659ca46fa89daeea1f/new_staged_deps.R git config --global --add safe.directory $(pwd) # Packages required by the new_staged_deps.R script: R -e 'install.packages(c("cli", "desc", "pkgdepends"))' @@ -58,6 +58,9 @@ jobs: with: token: ${{ secrets.RHUB_TOKEN }} job-config: ${{ matrix.config.job-config }} + needs: | + DepsDev + DepsBranch - uses: r-hub/actions/run-check@v1 with: token: ${{ secrets.RHUB_TOKEN }} @@ -83,9 +86,9 @@ jobs: with: token: ${{ secrets.RHUB_TOKEN }} job-config: ${{ matrix.config.job-config }} - - name: Setup custom dependencies + - name: Prepare DESCRIPTION file run: | - wget https://gist.githubusercontent.com/pawelru/2efd7db65436a558ac050cefe23e3306/raw/599d71e3f1ca1b79237b199f316a745e6b533996/new_staged_deps.R + wget https://gist.githubusercontent.com/pawelru/2efd7db65436a558ac050cefe23e3306/raw/5672eb997585893197b1ca659ca46fa89daeea1f/new_staged_deps.R git config --global --add safe.directory $(pwd) # Packages required by the new_staged_deps.R script: R -e 'install.packages(c("cli", "desc", "pkgdepends"))' @@ -95,6 +98,9 @@ jobs: with: job-config: ${{ matrix.config.job-config }} token: ${{ secrets.RHUB_TOKEN }} + needs: | + DepsDev + DepsBranch - uses: r-hub/actions/run-check@v1 with: job-config: ${{ matrix.config.job-config }}