Skip to content

Commit

Permalink
Merge pull request #61 from berkeley-dsep-infra/set_newdir
Browse files Browse the repository at this point in the history
trying another approach to fix directory related issues
  • Loading branch information
balajialg authored May 11, 2024
2 parents b4d7891 + 350b006 commit 6c7224f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/test_notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@ jobs:

- name: Change directory
run: |
# Change to the GitHub workspace directory where the repository is checked out
cd /github/workspace/
# find . -type f -exec sed -i 's|/__w/datahub-usage-analysis/datahub-usage-analysis|/github/workspace/datahub-usage-analysis/datahub-usage-analysis|g' {} +

for file in $(find /__w/datahub-usage-analysis/datahub-usage-analysis -type f); do
new_path="${file/__w/github/workspace}"
mkdir -p "$(dirname "$new_path")"
mv "$file" "$new_path"
done

- name: Get changed files
id: changed-files
Expand Down

0 comments on commit 6c7224f

Please sign in to comment.