diff --git a/.forgejo/workflows/actions-demo.yml b/.forgejo/workflows/actions-demo.yml index 15a9dc9..8b6a5b3 100644 --- a/.forgejo/workflows/actions-demo.yml +++ b/.forgejo/workflows/actions-demo.yml @@ -9,13 +9,17 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v4 - - name: get-changed-folders - id: get_changed - uses: https://github.com/Stockopedia/action-get-changed-files@v2.0.0 with: - github-token: ${{ secrets.GITHUB_TOKEN }} - ignore: "**/+(.forgejo)" - foldersOnly: false - - name: Echo changed files - run: echo ${{ steps.get_changed.outputs.changed }} - \ No newline at end of file + 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