From e69082bee5e2d09dfdbd8de490e03f06088c84be Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Wed, 26 Jun 2024 17:09:35 +0200 Subject: [PATCH] Update --- .github/workflows/rhub.yaml | 68 +++++++++++++++++++------------------ 1 file changed, 35 insertions(+), 33 deletions(-) diff --git a/.github/workflows/rhub.yaml b/.github/workflows/rhub.yaml index e82dea4c..1cbe8508 100644 --- a/.github/workflows/rhub.yaml +++ b/.github/workflows/rhub.yaml @@ -53,6 +53,7 @@ jobs: run: | wget https://gist.githubusercontent.com/pawelru/2efd7db65436a558ac050cefe23e3306/raw/f80c64bd2fd12513fda14685213765265ba7965c/new_staged_deps.R git config --global --add safe.directory $(pwd) + R -e 'install.packages("cli")' Rscript new_staged_deps.R shell: bash - uses: r-hub/actions/run-check@v1 @@ -60,37 +61,38 @@ jobs: token: ${{ secrets.RHUB_TOKEN }} job-config: ${{ matrix.config.job-config }} - other-platforms: - needs: setup - if: ${{ needs.setup.outputs.platforms != '[]' }} - runs-on: ${{ matrix.config.os }} - name: ${{ matrix.config.label }} - strategy: - fail-fast: false - matrix: - config: ${{ fromJson(needs.setup.outputs.platforms) }} + # other-platforms: + # needs: setup + # if: ${{ needs.setup.outputs.platforms != '[]' }} + # runs-on: ${{ matrix.config.os }} + # name: ${{ matrix.config.label }} + # strategy: + # fail-fast: false + # matrix: + # config: ${{ fromJson(needs.setup.outputs.platforms) }} - steps: - - uses: r-hub/actions/checkout@v1 - - uses: r-hub/actions/setup-r@v1 - with: - job-config: ${{ matrix.config.job-config }} - token: ${{ secrets.RHUB_TOKEN }} - - uses: r-hub/actions/platform-info@v1 - with: - token: ${{ secrets.RHUB_TOKEN }} - job-config: ${{ matrix.config.job-config }} - # - uses: r-hub/actions/setup-deps@v1 - # with: - # job-config: ${{ matrix.config.job-config }} - # token: ${{ secrets.RHUB_TOKEN }} - - name: Setup custom dependencies - run: | - wget https://gist.githubusercontent.com/pawelru/2efd7db65436a558ac050cefe23e3306/raw/f80c64bd2fd12513fda14685213765265ba7965c/new_staged_deps.R - git config --global --add safe.directory $(pwd) - Rscript new_staged_deps.R - shell: bash - - uses: r-hub/actions/run-check@v1 - with: - job-config: ${{ matrix.config.job-config }} - token: ${{ secrets.RHUB_TOKEN }} + # steps: + # - uses: r-hub/actions/checkout@v1 + # - uses: r-hub/actions/setup-r@v1 + # with: + # job-config: ${{ matrix.config.job-config }} + # token: ${{ secrets.RHUB_TOKEN }} + # - uses: r-hub/actions/platform-info@v1 + # with: + # token: ${{ secrets.RHUB_TOKEN }} + # job-config: ${{ matrix.config.job-config }} + # # - uses: r-hub/actions/setup-deps@v1 + # # with: + # # job-config: ${{ matrix.config.job-config }} + # # token: ${{ secrets.RHUB_TOKEN }} + # - name: Setup custom dependencies + # run: | + # wget https://gist.githubusercontent.com/pawelru/2efd7db65436a558ac050cefe23e3306/raw/f80c64bd2fd12513fda14685213765265ba7965c/new_staged_deps.R + # git config --global --add safe.directory $(pwd) + # R -e 'install.packages("cli")' + # Rscript new_staged_deps.R + # shell: bash + # - uses: r-hub/actions/run-check@v1 + # with: + # job-config: ${{ matrix.config.job-config }} + # token: ${{ secrets.RHUB_TOKEN }}