With this tool you can include some data onto app icon. Like, is it alpha build, beta build, version number and why not some backend-related info also.
This workflow is using ImageMagick and Ghostscript. These tools are installed using Brew Package Manager and tool is verified using macos-latest
There is one required parameter, an icon file naturally, and few optionals.
name: 'Modify App Icon'
description: 'Add version info onto app icon'
inputs:
icon-file:
description: 'Path of the icon'
required: true
default: 'icon.png'
first-line:
description: 'First line'
required: false
second-line:
description: 'Second line'
required: false
third-line:
description: 'Third line'
required: false
runs:
using: "composite"
steps:
- run: ${{ github.action_path }}/modify-icon.sh ${{ inputs.icon-file }} ${{ inputs.first-line }} ${{ inputs.second-line}} ${{ inputs.third-line }}
shell: bash