Skip to content

Commit

Permalink
Debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
robomics committed Feb 8, 2024
1 parent 1c33b0b commit 1a66971
Showing 1 changed file with 5 additions and 17 deletions.
22 changes: 5 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,25 +77,13 @@ jobs:
with:
r-version: ${{ matrix.r-version }}

- name: Add requirements
uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
needs: check

- name: Generate cache key
id: cache-key
- name: Debugging
run: |
hash="${{ hashFiles('conanfile.txt', '.github/workflows/ci.yml') }}"
Rscript -e 'Sys.getenv("R_HOME")
exit 1
echo "conan-key=ci-$hash" >> $GITHUB_OUTPUT
- name: Restore Conan cache
id: cache-conan
uses: actions/cache/restore@v3
with:
key: conan-${{ steps.cache-key.outputs.conan-key }}
path: ${{ env.CONAN_HOME }}
- name: Add requirements
uses: r-lib/actions/setup-r-dependencies@v2

- name: Build and test package
uses: r-lib/actions/check-r-package@v2
Expand Down

0 comments on commit 1a66971

Please sign in to comment.