Skip to content

Commit

Permalink
List changed Dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
pzehner committed Jan 26, 2024
1 parent 180b335 commit 5f81949
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,21 @@ jobs:
with:
fetch-depth: 0

- name: Get changed Docker files
- name: Get changed Dockerfiles
id: changed_docker_files
uses: tj-actions/changed-files@v42
with:
files: docker/**/Dockerfile

- name: List changed Dockerfiles
if: steps.changed_docker_files.outputs.any_changed == 'true'
env:
ALL_CHANGED_FILES: ${{ steps.changed_docker_files.outputs.all_changed_files }}
run: |
for file in "$ALL_CHANGED_FILES"; do
echo "$file was changed"
done
build_base:
runs-on: ubuntu-latest

Expand Down

0 comments on commit 5f81949

Please sign in to comment.