mirror of
https://github.com/openwrt-xiaomi/builder.git
synced 2026-02-02 23:47:48 +05:00
Compare commits
2 Commits
v25-260103
...
6897181d32
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6897181d32 | ||
|
|
1ad38544bf |
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,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
|
||||
|
||||
Reference in New Issue
Block a user