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:
parent
cfbce496c5
commit
3e0da4b537
6
.github/workflows/submodule-update.yml
vendored
6
.github/workflows/submodule-update.yml
vendored
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user