Adds various badges to icon files based on user-defined inputs.
This action processes icons using HazAT/badge
- Linux
- macOS
- uses: srz-zumix/icon-badge-action@v1
with:
glob: test/assets/*_shield.png
shield: "icon--badge--action-${{ github.head_ref }}-blue"
If the runner you are running is Linux only, you can also use the docker-action version.
- uses: srz-zumix/icon-badge-action/docker@v1
with:
glob: test/assets/*_shield.png
shield: "icon--badge--action-${{ github.head_ref }}-blue"
Specifies the glob pattern for icon file paths. Default is CURRENT_PATH/**/*.appiconset/*.{png,PNG}
.
Enables dark mode. Default is false
.
Makes the icon grayscale. Default is false
.
Keeps the alpha channel. Default is false
.
Adds an alpha badge. Default is false
.
Adds a beta badge. Default is false
.
Adds a shield static badge string. Default is an empty string.
Adds a shield static badge geometry. Default is an empty string.
Adds a shield static badge scale. Default is an empty string.
Disables resizing of the shield static badge. Default is false
.