2 Commits

Author SHA1 Message Date
remittor
6897181d32 fix 2 2025-12-29 13:09:48 +03:00
remittor
1ad38544bf fix 1 2025-12-29 12:59:05 +03:00

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,6 +32,7 @@ on:
env:
TEST_BUILD: ${{ github.event.inputs.test_build == 'true' }}
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
@@ -60,6 +61,9 @@ jobs:
fw_date: ${{ steps.gh.outputs.fw_date }}
fw_ver: ${{ steps.gh.outputs.fw_ver }}
is_active: ${{ steps.activity.outputs.is_active }}
test_build: ${{ env.TEST_BUILD }}
target_name: ${{ env.TARGET_NAME }}
fake_build: ${{ env.FAKE_BUILD }}
steps:
- name: Get repo data via GH API
id: gh
@@ -144,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:
@@ -218,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