mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
1112
This commit is contained in:
parent
45c5f05be4
commit
1455568b60
1 changed files with 27 additions and 1 deletions
26
.github/workflows/stale.yml
vendored
26
.github/workflows/stale.yml
vendored
|
@ -21,3 +21,29 @@ jobs:
|
|||
run: |
|
||||
./scripts/feeds update -a
|
||||
./scripts/feeds install -a
|
||||
- name: Costom configure file
|
||||
run: |
|
||||
rm -f ./.config*
|
||||
touch ./.config
|
||||
|
||||
sed -i 's/^[ \t]*//g' ./.config
|
||||
make defconfig
|
||||
- name: Make download
|
||||
run: |
|
||||
make download -j8
|
||||
find dl -size -1024c -exec ls -l {} \;
|
||||
find dl -size -1024c -exec rm -f {} \;
|
||||
- name: Compile firmware
|
||||
run: |
|
||||
echo -e "$(nproc) thread build."
|
||||
make -j$(nproc) V=s
|
||||
- name: Assemble artifact
|
||||
run: |
|
||||
rm -rf ./artifact/
|
||||
mkdir -p ./artifact/
|
||||
find ./bin/targets/ -name "*combined*img*" | xargs -i mv -f {} ./artifact/
|
||||
find ./bin/targets/ -name "*sysupgrade*bin*" | xargs -i mv -f {} ./artifact/
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@master
|
||||
with:
|
||||
name: OpenWrt firmware
|
Loading…
Add table
Add a link
Reference in a new issue