action.yml 644 B

1234567891011121314151617181920212223
  1. name: unicode fix
  2. description: idk just got it from Fatal
  3. inputs:
  4. kernel_version:
  5. description: 'Kernel version (6.1)'
  6. required: true
  7. runs:
  8. using: composite
  9. steps:
  10. - name: apply unicode fix for specific kernel version
  11. shell: bash
  12. run: |
  13. cd "$COMMON"
  14. echo "detected kernel version: ${{ inputs.kernel_version }}"
  15. if [[ ${{ inputs.kernel_version }} == 6.* ]]; then
  16. cp "$KERNEL_PATCHES/common/unicode_bypass_fix_6.1+.patch" .
  17. patch -p1 < unicode_bypass_fix_6.1+.patch
  18. else
  19. cp "$KERNEL_PATCHES/common/unicode_bypass_fix_6.1-.patch" .
  20. patch -p1 < unicode_bypass_fix_6.1-.patch
  21. fi