for loop
This commit is contained in:
parent
b0da6093ea
commit
ea8dfe54ad
|
|
@ -26,7 +26,10 @@ jobs:
|
|||
run: |
|
||||
git status
|
||||
chmod a+x action
|
||||
git diff --name-only | grep 'actions/' | cut -d'/' -f2 | xargs -n1 ./action | tee /dev/null
|
||||
changed_os=$(git diff --name-only | grep 'actions/' | cut -d'/' -f2)
|
||||
for os in ${changed_os}; do
|
||||
./action $os | tee /dev/null
|
||||
done
|
||||
git config --global user.name "${{ github.repository_owner }}"
|
||||
git config --global user.email "noreply@github.com"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue