Skip to content

Commit

Permalink
Move the working directory where it should be
Browse files Browse the repository at this point in the history
  • Loading branch information
llrs-roche committed Feb 3, 2025
1 parent 6e0c72a commit 9d31c30
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build-check-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -515,14 +515,16 @@ jobs:
path: "${{ inputs.additional-caches }}"
key: additional-caches-${{ runner.os }}

- name: Setup git checkout ⚙️
uses: actions/[email protected]
with:
path: ${{ github.event.repository.name }}/${{ inputs.package-subdirectory }}

- name: Check only affected modules 🎯
if: startsWith(${{ github.event.repository.name }}, "teal.modules.") && github.event_name == 'pull_request'
run: |
echo pwd
# Set working directory where the git repo is
cd ${{ github.event.repository.name }}/${{ inputs.package-subdirectory }}
ls -lh
# Get the list of R files that have changed
files=$(git diff --name-only main.. -- tests/* R/*.R)
Expand Down

0 comments on commit 9d31c30

Please sign in to comment.