Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Internet1235 committed Dec 23, 2024
1 parent 233b465 commit 8972a48
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/openwrt-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ on:
BRANCH:
description: 'feeds branch'
required: true
PACKAGE_NAME:
description: 'package name'
required: true

env:
FEEDS_CONF: feeds.conf.default
Expand Down Expand Up @@ -112,7 +115,7 @@ jobs:
run: |
cd openwrt-sdk
echo -e "$(nproc) thread compile"
make package/${{ github.event.inputs.BRANCH }}/compile -j$(nproc) || make package/${{ github.event.inputs.BRANCH }}/compile -j1 || make package/${{ github.event.inputs.BRANCH }}/compile -j1 V=sc
make package/${{ github.event.inputs.PACKAGE_NAME }}/compile -j$(nproc) || make package/${{ github.event.inputs.PACKAGE_NAME }}/compile -j1 || make package/${{ github.event.inputs.PACKAGES_NAME }}/compile -j1 V=sc
echo "status=success" >> $GITHUB_OUTPUT
grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' > DEVICE_NAME
[ -s DEVICE_NAME ] && echo "DEVICE_NAME=_$(cat DEVICE_NAME)" >> $GITHUB_ENV
Expand Down

0 comments on commit 8972a48

Please sign in to comment.