This commit is contained in:
remittor
2025-12-29 13:09:48 +03:00
parent 1ad38544bf
commit 6897181d32

View File

@@ -11,8 +11,8 @@ on:
options:
- true
- false
target_arch:
description: 'Target ARCH'
target_name:
description: 'Target Name'
required: false
default: 'r3d'
type: string
@@ -32,7 +32,7 @@ on:
env:
TEST_BUILD: ${{ github.event.inputs.test_build == 'true' }}
TARGET_ARCH: ${{ github.event.inputs.target_arch }}
TARGET_NAME: ${{ github.event.inputs.target_name }}
FAKE_BUILD: ${{ github.event.inputs.fake_build == 'true' }}
TAG_SUFFIX: ${{ github.event.inputs.fake_build == 'true' && '-fake' || github.event.inputs.test_build == 'true' && '-test' || '' }}
REPO_URL: https://github.com/openwrt-xiaomi/openwrt
@@ -62,7 +62,7 @@ jobs:
fw_ver: ${{ steps.gh.outputs.fw_ver }}
is_active: ${{ steps.activity.outputs.is_active }}
test_build: ${{ env.TEST_BUILD }}
target_arch: ${{ env.TARGET_ARCH }}
target_name: ${{ env.TARGET_NAME }}
fake_build: ${{ env.FAKE_BUILD }}
steps:
- name: Get repo data via GH API
@@ -148,7 +148,7 @@ jobs:
exclude:
- { isTest: true }
include:
- target: ${{ github.event.inputs.target_arch }}
- target: ${{ github.event.inputs.target_name }}
steps:
- name: Initialization environment
env:
@@ -222,7 +222,7 @@ jobs:
if [ "$TEST_BUILD" != "true" ]; then
make -j $MAKE_JOBS download world
else
make -j $MAKE_JOBS V=sc download world
make V=sc download world
fi
fi
# process results