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 }}
偼岪訸铪贠傩攚李抉表樸鎅勝傒谦櫥擝傝廞榻菸慺鯁鲺屗穀飾鈾楟惒娛宖噲淤瘁伹昇鼋弛螟停先铊奇綑嚠涫噝怲巳