Fix problems in workflow scripts

Signed-off-by: Christian Wolf <github@christianwolf.email>
This commit is contained in:
Christian Wolf 2022-09-29 19:27:04 +02:00
Родитель 2251f0a286
Коммит 9b28d24bd4
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 9FC3120E932F73F1
1 изменённых файлов: 3 добавлений и 3 удалений

6
.github/workflows/pages.yml поставляемый
Просмотреть файл

@ -40,13 +40,13 @@ jobs:
id: count-plantuml
run: |
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"
- name: Install PlantUML on demand
if: steps.count-plantuml.outputs.num > 0
run: |
apt-get update
apt-get install --no-install-recommends plantuml
sudo apt-get update
sudo apt-get install --no-install-recommends -y plantuml
- name: Build PlantUML images
if: steps.count-plantuml.outputs.num > 0
run: make -C docs build-uml-svg