Update AutoBuild-Sample.yml

This commit is contained in:
Hyy2001X 2021-05-25 10:28:01 +08:00 committed by GitHub
parent 49e6f0d165
commit e09cd8fe54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 6 deletions

View File

@ -113,12 +113,6 @@ jobs:
Firmware-Diy_Base Firmware-Diy_Base
Firmware-Diy Firmware-Diy
- name: Process Openwrt source code
run: |
cd openwrt
./scripts/feeds install -a
make defconfig
- name: SSH connection to Actions - name: SSH connection to Actions
uses: P3TERX/ssh2actions@v1.0.0 uses: P3TERX/ssh2actions@v1.0.0
if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh') if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh')
@ -129,6 +123,8 @@ jobs:
- name: Compile the Openwrt - name: Compile the Openwrt
run: | run: |
cd openwrt cd openwrt
./scripts/feeds install -a
make defconfig
make download -j8 make download -j8
echo "Start to compile OpenWrt for $CONFIG_FILE..." echo "Start to compile OpenWrt for $CONFIG_FILE..."
make -j$(nproc) || make -j1 V=s make -j$(nproc) || make -j1 V=s