Skip to content

Commit

Permalink
工作流:添加缓存相关日志信息
Browse files Browse the repository at this point in the history
  • Loading branch information
chenmozhijin committed Mar 23, 2024
1 parent ecc77cd commit e029b8b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build-openwrt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -799,6 +799,9 @@ jobs:
cp -RT $OPENWRT_ROOT_PATH/logs $LOG_PATH/openwrt-logs || echo "没有openwrt/logs"
cp $OPENWRT_ROOT_PATH/.config $LOG_PATH/openwrt.config || echo "没有openwrt/.config"
ls -la $(find $OPENWRT_ROOT_PATH/files/ -type d) >> $LOG_PATH/files.list
if [ -d $OPENWRT_ROOT_PATH/.ccache ];then
ls -la $(find $OPENWRT_ROOT_PATH/.ccache -type d) >> $LOG_PATH/ccache.list
fi
- name: 上传日志
if: failure()
Expand Down Expand Up @@ -911,6 +914,9 @@ jobs:
mkdir -p $LOG_PATH/openwrt-logs
cp -RT $OPENWRT_ROOT_PATH/logs $LOG_PATH/openwrt-logs || echo "没有openwrt/logs"
cp $OPENWRT_ROOT_PATH/.config $LOG_PATH/openwrt.config || echo "没有openwrt/.config"
if [ -d $OPENWRT_ROOT_PATH/.ccache ];then
ls -la $(find $OPENWRT_ROOT_PATH/.ccache -type d) >> $LOG_PATH/ccache.list
fi
- name: 上传日志
if: success() || failure()
Expand Down Expand Up @@ -1108,6 +1114,9 @@ jobs:
mkdir -p $LOG_PATH/openwrt-logs
cp -RT $OPENWRT_ROOT_PATH/logs $LOG_PATH/openwrt-logs || echo "没有openwrt/logs"
cp $OPENWRT_ROOT_PATH/.config $LOG_PATH/openwrt.config || echo "没有openwrt/.config"
if [ -d $OPENWRT_ROOT_PATH/.ccache ];then
ls -la $(find $OPENWRT_ROOT_PATH/.ccache -type d) >> $LOG_PATH/ccache.list
fi
- name: 上传日志
if: success() || failure()
Expand Down

0 comments on commit e029b8b

Please sign in to comment.