A random unicode text generator GitHub action. Creates a unicode string based on an input range and length.
In your workflow, to use this github action add a step like this to your workflow:
- name: Run Unicode Generator
uses: konjoinfinity/[email protected]
id: generate-unicode
with:
numOfChars: "50" # Optional - Number of unicode characters to output - Default = "100"
startRange: "0x1F300" # Optional - Unicode character start range - Default = "0"
endRange: "0x1F4FF" # Optional - Unicode character end range - Default = "50000" ๐๐๐๐ฟ๐๐ด๐๐ธ๐ค๐๐๐
๐๐ฌ๐ฟ๐พ๐ด๐ต๐ก๐ฉ๐๐๐ฉ๐๐๐ข๐ฟ๐ง๐ง๐ด๐ญ๐๐๐๐ก๐ด๐๐ต๐๐ฑ๐๐ฆ๐๐ผ๐๐ด๐บ๐๐๐No extra configuration required to run this GitHub Action.
| Name | Type | Description | Requried? | Default |
|---|---|---|---|---|
numOfChars |
String | Number of unicode characters to output. | No | "100" |
startRange |
String | Unicode character start range. Can be an hexadecimal or number (Ex. "2345", "0x1F300") |
No | "0" |
endRange |
String | Unicode character end range. Can be an hexadecimal or number (Ex. "25000", "0x1F4FF") |
No | "50000" |
| Name | Description | How To Access |
|---|---|---|
output |
Unicode text ouput generated by the action. | ${{ steps.<your-step>.outputs.output}} |
- name: Show Output
run: |
echo ${{ steps.<your-step>.outputs.output }}Link to workflow
name: Create Random Chinese From Unicode
on: push
jobs:
generate-unicode:
runs-on: ubuntu-latest
steps:
- name: Create Random Chinese
id: createchinese
uses: konjoinfinity/[email protected]
with:
numOfChars: "50"
startRange: "0x4e00"
endRange: "0x9fff"
- name: Show Output
run: |
echo ${{ steps.createchinese.outputs.output }}ๅผๅฒช่จธ้ช่ด ๅฉๆๆๆ่กจๆจธ้
ๅๅ่ฐฆๆซฅๆๅๅปๆฆป่ธๆ
บ้ฏ้ฒบๅฑ็ฉ้ฃพ้พๆฅๆๅจๅฎๅฒๆทค็ไผนๆ้ผๅผ่ๅๅ
้ๅฅ็ถๅ ๆถซๅๆฒๅทณ