All checks were successful
Actions Demo / get-changed-folders (push) Successful in 30s
26 lines
610 B
YAML
26 lines
610 B
YAML
name: Actions Demo
|
|
run-name: Testing out Actions 🚀
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
jobs:
|
|
get-changed-folders:
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Get changed files
|
|
id: changed-files
|
|
uses: https://github.com/tj-actions/changed-files@v44
|
|
|
|
- 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
|