mirror of
https://github.com/openwrt-xiaomi/builder.git
synced 2026-01-01 03:23:38 +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:
|
options:
|
||||||
- true
|
- true
|
||||||
- false
|
- false
|
||||||
target_arch:
|
target_name:
|
||||||
description: 'Target ARCH'
|
description: 'Target Name'
|
||||||
required: false
|
required: false
|
||||||
default: 'r3d'
|
default: 'r3d'
|
||||||
type: string
|
type: string
|
||||||
@@ -32,7 +32,7 @@ on:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
TEST_BUILD: ${{ github.event.inputs.test_build == 'true' }}
|
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' }}
|
FAKE_BUILD: ${{ github.event.inputs.fake_build == 'true' }}
|
||||||
TAG_SUFFIX: ${{ github.event.inputs.fake_build == 'true' && '-fake' || github.event.inputs.test_build == 'true' && '-test' || '' }}
|
TAG_SUFFIX: ${{ github.event.inputs.fake_build == 'true' && '-fake' || github.event.inputs.test_build == 'true' && '-test' || '' }}
|
||||||
REPO_URL: https://github.com/openwrt-xiaomi/openwrt
|
REPO_URL: https://github.com/openwrt-xiaomi/openwrt
|
||||||
@@ -62,7 +62,7 @@ jobs:
|
|||||||
fw_ver: ${{ steps.gh.outputs.fw_ver }}
|
fw_ver: ${{ steps.gh.outputs.fw_ver }}
|
||||||
is_active: ${{ steps.activity.outputs.is_active }}
|
is_active: ${{ steps.activity.outputs.is_active }}
|
||||||
test_build: ${{ env.TEST_BUILD }}
|
test_build: ${{ env.TEST_BUILD }}
|
||||||
target_arch: ${{ env.TARGET_ARCH }}
|
target_name: ${{ env.TARGET_NAME }}
|
||||||
fake_build: ${{ env.FAKE_BUILD }}
|
fake_build: ${{ env.FAKE_BUILD }}
|
||||||
steps:
|
steps:
|
||||||
- name: Get repo data via GH API
|
- name: Get repo data via GH API
|
||||||
@@ -148,7 +148,7 @@ jobs:
|
|||||||
exclude:
|
exclude:
|
||||||
- { isTest: true }
|
- { isTest: true }
|
||||||
include:
|
include:
|
||||||
- target: ${{ github.event.inputs.target_arch }}
|
- target: ${{ github.event.inputs.target_name }}
|
||||||
steps:
|
steps:
|
||||||
- name: Initialization environment
|
- name: Initialization environment
|
||||||
env:
|
env:
|
||||||
@@ -222,7 +222,7 @@ jobs:
|
|||||||
if [ "$TEST_BUILD" != "true" ]; then
|
if [ "$TEST_BUILD" != "true" ]; then
|
||||||
make -j $MAKE_JOBS download world
|
make -j $MAKE_JOBS download world
|
||||||
else
|
else
|
||||||
make -j $MAKE_JOBS V=sc download world
|
make V=sc download world
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
# process results
|
# process results
|
||||||
|
|||||||
Reference in New Issue
Block a user