mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-17 17:42:20 +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
|
continue-on-error: true
|
||||||
run: |
|
run: |
|
||||||
changes=$(git status --porcelain)
|
changes=$(git status --porcelain)
|
||||||
|
git status --porcelain
|
||||||
if [ -n "${changes}" ];
|
if [ -n "${changes}" ];
|
||||||
then
|
then
|
||||||
echo '::set-output changes=true'
|
echo '::set-output changes=true'
|
||||||
|
else
|
||||||
|
echo '::set-output changes=false'
|
||||||
|
exit 0
|
||||||
fi
|
fi
|
||||||
echo '::set-output changes=false'
|
|
||||||
exit 0
|
|
||||||
|
|
||||||
- name: Create submodules changes branch
|
- name: Create submodules changes branch
|
||||||
if: steps.check_for_changes.outputs.changes == 'true'
|
if: steps.check_for_changes.outputs.changes == 'true'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user