action 測試

This commit is contained in:
踢低吸 2022-08-31 07:38:41 +00:00
parent c6a4bd0ee1
commit 5920e95b3a

View File

@ -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