mirror of
https://tvoygit.ru/Djam/r11_workflows.git
synced 2025-02-23 17:02:46 +00:00
fix double go search
This commit is contained in:
parent
f3ad3cd7fb
commit
7179fa1fe1
1 changed files with 8 additions and 8 deletions
16
action.yml
16
action.yml
|
@ -120,13 +120,6 @@ runs:
|
||||||
# echo "Dependency: $dependency"
|
# echo "Dependency: $dependency"
|
||||||
|
|
||||||
case "$dependency" in
|
case "$dependency" in
|
||||||
*go*)
|
|
||||||
go_dependencies="golang-1.23.4-1-rosa0.1.x86_64"
|
|
||||||
if [[ -n "$go_dependencies" ]]; then
|
|
||||||
echo "Found Go dependency: $go_dependencies"
|
|
||||||
all_dependencies+=("$BASE_URL/$go_dependencies.rpm")
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
*pkgconfig\(openssl3\.3\)*)
|
*pkgconfig\(openssl3\.3\)*)
|
||||||
openssl_dependencies="openssl3.3-devel-3.3.1-2-R11.x86_64"
|
openssl_dependencies="openssl3.3-devel-3.3.1-2-R11.x86_64"
|
||||||
if [[ -n "$openssl_dependencies" ]]; then
|
if [[ -n "$openssl_dependencies" ]]; then
|
||||||
|
@ -180,10 +173,17 @@ runs:
|
||||||
*goreleaser*)
|
*goreleaser*)
|
||||||
goreleaser_dependency="goreleaser-1.8.3-1-rosa0.1.x86_64"
|
goreleaser_dependency="goreleaser-1.8.3-1-rosa0.1.x86_64"
|
||||||
if [[ -n "$goreleaser_dependency" ]]; then
|
if [[ -n "$goreleaser_dependency" ]]; then
|
||||||
echo "Found goreleaser: $goreleaser_depenedency"
|
echo "Found goreleaser: $goreleaser_dependency"
|
||||||
all_dependencies+=("$BASE_URL/$goreleaser_dependency.rpm")
|
all_dependencies+=("$BASE_URL/$goreleaser_dependency.rpm")
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
*go*)
|
||||||
|
go_dependencies="golang-1.23.4-1-rosa0.1.x86_64"
|
||||||
|
if [[ -n "$go_dependencies" ]]; then
|
||||||
|
echo "Found Go dependency: $go_dependencies"
|
||||||
|
all_dependencies+=("$BASE_URL/$go_dependencies.rpm")
|
||||||
|
fi
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Вывод текущего состояния массива all_dependencies
|
# Вывод текущего состояния массива all_dependencies
|
||||||
|
|
Loading…
Add table
Reference in a new issue