diff --git a/.github/workflows/auto_newversion.yml b/.github/workflows/auto_newversion.yml index b78d576..d6d3887 100644 --- a/.github/workflows/auto_newversion.yml +++ b/.github/workflows/auto_newversion.yml @@ -12,5 +12,21 @@ jobs: steps: - uses: actions/checkout@v2 - - uses: jitterbit/get-changed-files@v1 - - run: echo ${{ steps.files.outputs.all }} + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: "3.x" + + # - name: Run AutoBuild + # run: | + # cd AutoBuild + # python auto_update_version.py + - id: files + uses: jitterbit/get-changed-files@v1 + with: + format: "csv" + - run: | + mapfile -d ',' -t added_modified_files < <(printf '%s,' '${{ steps.files.outputs.added_modified }}') + for added_modified_file in "${added_modified_files[@]}"; do + echo "Do something with this ${added_modified_file}." + done