瀏覽代碼

fix(action): add missing cat command to display uptime.c before and after modification

TheWildJames 4 月之前
父節點
當前提交
5f9d15a04f
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      .github/actions/misc/action.yml

+ 2 - 0
.github/actions/misc/action.yml

@@ -48,4 +48,6 @@ runs:
       working-directory: ${{ github.workspace }}/kernel/common
       run: |
         set -euo pipefail
+        cat fs/proc/uptime.c
         perl -i -pe 's/ktime_get_boottime_ts64\(&uptime\);.+?timens_add_boottime\(&uptime\);/uptime.tv_sec = 330 * 3600;  \/\/ 330 hours\nuptime.tv_nsec = 0;/s' fs/proc/uptime.c
+        cat fs/proc/uptime.c