action.yml 535 B

12345678910111213141516171819
  1. name: unicode fix
  2. description: idk just got it from Fatal
  3. runs:
  4. using: composite
  5. steps:
  6. - name: apply unicode fix for specific kernel version
  7. shell: bash
  8. run: |
  9. cd "$COMMON"
  10. echo "detected kernel version: $KERNEL_VERSION"
  11. if [[ $KERNEL_VERSION == 6.* ]]; then
  12. cp "$KERNEL_PATCHES/common/unicode_bypass_fix_6.1+.patch" .
  13. patch -p1 < unicode_bypass_fix_6.1+.patch
  14. else
  15. cp "$KERNEL_PATCHES/common/unicode_bypass_fix_6.1-.patch" .
  16. patch -p1 < unicode_bypass_fix_6.1-.patch
  17. fi