mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-02-18 02:40:52 +01:00
Updated build script
This commit is contained in:
parent
e208124b28
commit
4e00f429a3
12
.github/workflows/images_build_windows.yml
vendored
12
.github/workflows/images_build_windows.yml
vendored
@ -39,13 +39,16 @@ jobs:
|
|||||||
|
|
||||||
- name: Check build.json file
|
- name: Check build.json file
|
||||||
id: build_exists
|
id: build_exists
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
if (-not(Test-Path -Path "./build.json" -PathType Leaf)) {
|
if [[ ! -f "./build.json" ]]; then
|
||||||
throw "::error::File build.json is missing"
|
echo "::error::File build.json is missing"
|
||||||
}
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Prepare Operating System list
|
- name: Prepare Operating System list
|
||||||
id: os
|
id: os
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
os_list=$(jq -r '.["os-windows"] | keys | [ .[] | tostring ] | @json' "./build.json")
|
os_list=$(jq -r '.["os-windows"] | keys | [ .[] | tostring ] | @json' "./build.json")
|
||||||
|
|
||||||
@ -53,8 +56,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Prepare Zabbix component list
|
- name: Prepare Zabbix component list
|
||||||
id: components
|
id: components
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
$component_list='["agent","agent2"]'
|
component_list='["agent","agent2"]'
|
||||||
|
|
||||||
echo "::set-output name=list::$component_list"
|
echo "::set-output name=list::$component_list"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user