This commit is contained in:
@@ -27,7 +27,19 @@ jobs:
|
|||||||
ls -lh
|
ls -lh
|
||||||
cp -r /home/steam/Steam/steamapps/workshop/content/394360/3115864680 src
|
cp -r /home/steam/Steam/steamapps/workshop/content/394360/3115864680 src
|
||||||
rm -rf src/.git
|
rm -rf src/.git
|
||||||
|
- name: check diff
|
||||||
|
id: check_changes
|
||||||
|
run: |
|
||||||
|
ls -lh
|
||||||
|
cd az-vnr-patch
|
||||||
|
ls -lh
|
||||||
|
if [ -z "$(git status --porcelain)" ]; then
|
||||||
|
echo "::set-output name=has_changes::false"
|
||||||
|
else
|
||||||
|
echo "::set-output name=has_changes::true"
|
||||||
|
fi
|
||||||
- name: commit and push
|
- name: commit and push
|
||||||
|
if: ${{ steps.check_changes.outputs.has_changes == 'true' }}
|
||||||
run: |
|
run: |
|
||||||
ls -lh
|
ls -lh
|
||||||
cd az-vnr-patch
|
cd az-vnr-patch
|
||||||
|
|||||||
Reference in New Issue
Block a user