Skip to content

debug

debug #31

Workflow file for this run

name: Check changed files
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
permissions:
contents: read
pull-requests: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest
steps:
- name: Checkout current repo
uses: actions/checkout@v3
- name: Get file changes
id: file_changes
uses: trilom/[email protected]
- name: test
id: folders
run: |
content=$(jq ".[]" $HOME/files.json)
echo "::set-output name=folders::$content"
- name: Run validation
run : |
folders=${{steps.folders.outputs.folders}}
folders=${folders//,/ }
folders=${folders/[/ }
folders=${folders/]/ }
echo "-------------1"
for f in $folders; do echo $f; done