mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-03-28 12:21:38 -04:00
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 8.0.0 to 8.1.0. - [Release notes](https://github.com/peter-evans/create-pull-request/releases) - [Commits](https://github.com/peter-evans/create-pull-request/compare/v8.0.0...v8.1.0) --- updated-dependencies: - dependency-name: peter-evans/create-pull-request dependency-version: 8.1.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
39 lines
1.1 KiB
YAML
39 lines
1.1 KiB
YAML
name: Generate feature graphic
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- 'fastlane/**/title.txt'
|
|
- '.scripts/generate_feature_graphic/**'
|
|
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
generate-feature-graphic:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- name: Install requirements
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install inkscape mat2 optipng xvfb
|
|
# Install 200 weight versions of relevant Noto (to use for languages not supported by Lexend Deca)
|
|
sudo apt-get install fonts-noto-extra fonts-noto-cjk-extra
|
|
# Custom fonts
|
|
mkdir "$HOME/.fonts"
|
|
find .scripts/generate_feature_graphic/fonts -name '*.ttf' -exec cp {} "$HOME/.fonts" \;
|
|
fc-cache
|
|
- name: Generate featureGraphic.png for each language
|
|
run: .scripts/generate_feature_graphic/generate_feature_graphic.sh
|
|
- name: Create Pull Request
|
|
uses: peter-evans/create-pull-request@v8.1.0
|
|
with:
|
|
title: "Update feature graphic"
|
|
commit-message: "Update feature graphic"
|
|
branch-suffix: timestamp
|