mirror of
https://github.com/FutaGuard/LowTechFilter.git
synced 2025-06-21 05:21:02 +08:00
✨ action 測試
This commit is contained in:
parent
c6a4bd0ee1
commit
5920e95b3a
20
.github/workflows/auto_newversion.yml
vendored
20
.github/workflows/auto_newversion.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user