зеркало из https://github.com/nextcloud/cookbook.git
Fix problems in workflow scripts
Signed-off-by: Christian Wolf <github@christianwolf.email>
This commit is contained in:
Родитель
2251f0a286
Коммит
9b28d24bd4
|
@ -40,13 +40,13 @@ jobs:
|
||||||
id: count-plantuml
|
id: count-plantuml
|
||||||
run: |
|
run: |
|
||||||
count=$(find docs/ -name \*.puml | wc -l)
|
count=$(find docs/ -name \*.puml | wc -l)
|
||||||
echo "There are $count number of plantuml files"
|
echo "There are $count plantuml files"
|
||||||
echo "::set-output name=num::$count"
|
echo "::set-output name=num::$count"
|
||||||
- name: Install PlantUML on demand
|
- name: Install PlantUML on demand
|
||||||
if: steps.count-plantuml.outputs.num > 0
|
if: steps.count-plantuml.outputs.num > 0
|
||||||
run: |
|
run: |
|
||||||
apt-get update
|
sudo apt-get update
|
||||||
apt-get install --no-install-recommends plantuml
|
sudo apt-get install --no-install-recommends -y plantuml
|
||||||
- name: Build PlantUML images
|
- name: Build PlantUML images
|
||||||
if: steps.count-plantuml.outputs.num > 0
|
if: steps.count-plantuml.outputs.num > 0
|
||||||
run: make -C docs build-uml-svg
|
run: make -C docs build-uml-svg
|
||||||
|
|
Загрузка…
Ссылка в новой задаче