mirror of
https://github.com/openwrt-xiaomi/builder.git
synced 2025-12-31 19:13:39 +05:00
fix 2
This commit is contained in:
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user