Skip to content

Commit

Permalink
Update changed files action
Browse files Browse the repository at this point in the history
  • Loading branch information
fraguada committed Mar 5, 2024
1 parent f50dbbd commit d362bca
Showing 1 changed file with 32 additions and 4 deletions.
36 changes: 32 additions & 4 deletions .github/workflows/workflow_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,17 @@ jobs:
with:
fetch-depth: 0
- name: check changed files
uses: tj-actions/changed-files@v41.0.0
uses: tj-actions/changed-files@v42
id: changed-files
with:
files: .github/workflows/workflow_ci.yml
- name: List all changed files
env:
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
for file in ${ALL_CHANGED_FILES}; do
echo "$file was changed"
done
#checks if build scripts have changed
check_build_scripts:
Expand All @@ -39,13 +46,20 @@ jobs:
with:
fetch-depth: 0
- name: check changed files
uses: tj-actions/changed-files@v41.0.0
uses: tj-actions/changed-files@v42
id: changed-files
with:
files: |
.github/workflows/workflow_ci.yml
Current_Development_Tools.md
script
- name: List all changed files
env:
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
for file in ${ALL_CHANGED_FILES}; do
echo "$file was changed"
done
#checks if src/dotnet files have changed
check_dotnet:
Expand All @@ -59,10 +73,17 @@ jobs:
with:
fetch-depth: 0
- name: check changed files
uses: tj-actions/changed-files@v41.0.0
uses: tj-actions/changed-files@v42
id: changed-files
with:
files: src/dotnet
- name: List all changed files
env:
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
for file in ${ALL_CHANGED_FILES}; do
echo "$file was changed"
done
#checks if src/bindings have changed
check_bindings:
Expand All @@ -76,12 +97,19 @@ jobs:
with:
fetch-depth: 0
- name: check changed files
uses: tj-actions/changed-files@v41.0.0
uses: tj-actions/changed-files@v42
id: changed-files
with:
files: |
src/bindings
src/CMakeLists.txt
- name: List all changed files
env:
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
for file in ${ALL_CHANGED_FILES}; do
echo "$file was changed"
done
#only run if src files have changed.

Expand Down

0 comments on commit d362bca

Please sign in to comment.