1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-14 08:17:13 +03:00

github/submodule-update: Needs an 'else' to actually work

* Somehow this had been left in a state where it would always signal
  "no changes".
This commit is contained in:
Athanasius 2022-12-16 17:24:11 +00:00
parent cfbce496c5
commit 3e0da4b537
No known key found for this signature in database
GPG Key ID: 772697E181BB2767

View File

@ -33,12 +33,14 @@ jobs:
continue-on-error: true
run: |
changes=$(git status --porcelain)
git status --porcelain
if [ -n "${changes}" ];
then
echo '::set-output changes=true'
else
echo '::set-output changes=false'
exit 0
fi
echo '::set-output changes=false'
exit 0
- name: Create submodules changes branch
if: steps.check_for_changes.outputs.changes == 'true'