|
1 | | -# ukagaka-mirror-md5-CI-build |
2 | | -> How bad would it be if the md5 didn't match |
| 1 | +# Attention! |
| 2 | +**disable autocrlf** when you use it |
| 3 | + |
| 4 | +______ |
| 5 | + |
| 6 | +# ukagaka-mirror-md5-CI-build |
| 7 | + > How bad would it be if the md5 didn't match |
| 8 | +
|
| 9 | +about `github action`: https://docs.github.com/actions |
| 10 | + |
| 11 | +useage: https://github.com/Taromati2/stable-mirror/blob/master/.github/workflows/md5-CI-build.yml |
| 12 | +```yml |
| 13 | +#//... |
| 14 | +runs-on: windows-latest |
| 15 | +steps: |
| 16 | +- name: disable auto crlf |
| 17 | + uses: steve02081504/disable-autocrlf@v1 |
| 18 | + #//... |
| 19 | + #//checkout your ghost file: actions/checkout |
| 20 | + #//... |
| 21 | + #//dosome check like shiori-check or do nothing: Taromati2/yaya-CI-check |
| 22 | + #//... |
| 23 | +- name: md5file-CI-build |
| 24 | + uses: Taromati2/ukagaka-mirror-md5-CI-build@v1 |
| 25 | + with: |
| 26 | + # where is your update file? |
| 27 | + dir-path: .\Taromati2 # default is . |
| 28 | + # ghost_dir(for ghost & each shell) or other(only for a dir) |
| 29 | + build-mode: ghost_dir # default is ghost_dir |
| 30 | + # |
| 31 | + # commit-message: # optional, default is 'md5 fix~' |
| 32 | + # |
| 33 | + # committer-email: # optional, default is taromati2@foxmail.com |
| 34 | + # |
| 35 | + # committer-name: # optional, default is Taromati2 |
| 36 | +``` |
| 37 | + |
| 38 | +# rules for ignore |
| 39 | +`md5buildignore.txt` for type `other` & `ghost_dir`'s ghost part |
| 40 | +`md5buildignoreforeach.txt` for `ghost_dir`'s shell part |
| 41 | + |
| 42 | +______ |
| 43 | + |
| 44 | +ignores `*.inf` under `/ghost/data/*` |
| 45 | +``` |
| 46 | +/ghost/data/*/*.inf |
| 47 | +``` |
| 48 | +unignore `love.inf` under `/ghost/data/*` |
| 49 | +``` |
| 50 | +!/ghost/data/*/love.inf |
| 51 | +``` |
| 52 | +ignore `some.log1`, `some.log2`, `some.logA`...(and others) under **ANY Folder** |
| 53 | +``` |
| 54 | +some.log? |
| 55 | +``` |
| 56 | +or |
| 57 | +``` |
| 58 | +*/some.log? |
| 59 | +``` |
| 60 | + |
| 61 | +______ |
| 62 | + |
| 63 | +useage: |
| 64 | +https://github.com/Taromati2/stable-mirror/blob/master/Taromati2/md5buildignore.txt |
| 65 | +https://github.com/Taromati2/stable-mirror/blob/master/Taromati2/shell/md5buildignoreforeach.txt |
| 66 | + |
0 commit comments