update deploy

This commit is contained in:
Sergey Zhemoytel 2025-01-11 01:18:44 +03:00
parent b07ffe3985
commit af85c47057

View file

@ -88,15 +88,12 @@ runs:
- name: Install dependies
run: |
source .env
SPEC_FILE=${SPECFILE}
# SPEC_FILE=${SPECFILE}
BASE_URL="https://packages.buildkite.com/r11-team/r11-x86-64/files/"
# Функция для установки зависимостей
#install_dependencies() {
# Массив для хранения всех зависимостей
declare -a all_dependencies
# Чтение файла построчно
while IFS= read -r line; do
if [[ $line =~ ^BuildRequires:\s+(go)$ ]]; then
@ -130,8 +127,7 @@ runs:
all_dependencies+=("$BASE_URL/$qt515_dependency.rpm")
fi
fi
done < "$SPEC_FILE"
done < ${SPECFILE}
# Установка всех найденных зависимостей
if [[ ${#all_dependencies[@]} -gt 0 ]]; then
echo "Installing all dependencies: ${all_dependencies[@]}"