Fixed error when there is no qlfile
in the repository.
This commit is contained in:
parent
9d98fb9385
commit
c2cd07ba30
2 changed files with 15 additions and 5 deletions
|
@ -2,6 +2,11 @@
|
||||||
ChangeLog
|
ChangeLog
|
||||||
===========
|
===========
|
||||||
|
|
||||||
|
1.0.1 (2021-02-22)
|
||||||
|
==================
|
||||||
|
|
||||||
|
Fixed error when there is no ``qlfile`` in the repository.
|
||||||
|
|
||||||
1.0.0 (2021-01-07)
|
1.0.0 (2021-01-07)
|
||||||
==================
|
==================
|
||||||
|
|
||||||
|
|
15
action.yml
15
action.yml
|
@ -60,11 +60,16 @@ runs:
|
||||||
rm -f qlfile.lock
|
rm -f qlfile.lock
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo 'Here is content of qlfile:'
|
if [[ -e qlfile ]]; then
|
||||||
echo '==============='
|
echo 'Here is content of qlfile:'
|
||||||
cat qlfile
|
echo '==============='
|
||||||
echo '==============='
|
cat qlfile
|
||||||
echo ''
|
echo '==============='
|
||||||
|
echo ''
|
||||||
|
else
|
||||||
|
echo 'There is no qlfile. Creating an empty one.'
|
||||||
|
touch qlfile
|
||||||
|
fi
|
||||||
|
|
||||||
qlot install
|
qlot install
|
||||||
echo ::endgroup::
|
echo ::endgroup::
|
||||||
|
|
Loading…
Reference in a new issue