mirror of
https://tvoygit.ru/Djam/r11_workflows.git
synced 2025-02-23 17:02:46 +00:00
update deploy
This commit is contained in:
parent
b07ffe3985
commit
af85c47057
1 changed files with 3 additions and 7 deletions
|
@ -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[@]}"
|
||||
|
|
Loading…
Add table
Reference in a new issue