From af85c47057fd0f20cf7badbc7962a6bea90646c9 Mon Sep 17 00:00:00 2001 From: Sergey Zhemoytel Date: Sat, 11 Jan 2025 01:18:44 +0300 Subject: [PATCH] update deploy --- action.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/action.yml b/action.yml index bd1745a..0ef4d8d 100644 --- a/action.yml +++ b/action.yml @@ -87,16 +87,13 @@ runs: - name: Install dependies run: | - source .env - - SPEC_FILE=${SPECFILE} + source .env + # 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[@]}"