Skip to content

Commit 9d31c30

Browse files
committed
Move the working directory where it should be
1 parent 6e0c72a commit 9d31c30

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/build-check-install.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -515,14 +515,16 @@ jobs:
515515
path: "${{ inputs.additional-caches }}"
516516
key: additional-caches-${{ runner.os }}
517517

518-
- name: Setup git checkout ⚙️
519-
uses: actions/[email protected]
520-
with:
521-
path: ${{ github.event.repository.name }}/${{ inputs.package-subdirectory }}
522-
523518
- name: Check only affected modules 🎯
524519
if: startsWith(${{ github.event.repository.name }}, "teal.modules.") && github.event_name == 'pull_request'
525520
run: |
521+
echo pwd
522+
523+
# Set working directory where the git repo is
524+
cd ${{ github.event.repository.name }}/${{ inputs.package-subdirectory }}
525+
526+
ls -lh
527+
526528
# Get the list of R files that have changed
527529
files=$(git diff --name-only main.. -- tests/* R/*.R)
528530

0 commit comments

Comments
 (0)