Update main.yml

This commit is contained in:
Janson 2022-03-29 19:36:16 +08:00 committed by GitHub
parent 2f26a6efc4
commit 525ea8af34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,7 +132,7 @@ jobs:
- name: ReCompile IPKs
id: compile
if: steps.download.outputs.status == 'success' && steps.precompile.outputs.status != 'success'
if: failure() && steps.download.outputs.status == 'success'
run: |
cd ${SDK_NAME}
bash -c 'set -o pipefail ; make -j1 V=s defconfig package/compile 2>&1 | tee /tmp/openwrt-sdk-build.log'