Revert "v1.15.0" #25
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Icon actions" | |
on: | |
pull_request: | |
branches: | |
- "main" | |
paths: | |
- "icons/**" | |
jobs: | |
checks: | |
runs-on: "ubuntu-latest" | |
name: "Check and format icons" | |
permissions: | |
contents: "write" | |
steps: | |
# Checkout repository | |
- name: Check out Git repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
ref: ${{github.event.pull_request.head.ref}} | |
repository: ${{github.event.pull_request.head.repo.full_name}} | |
# Install dependencies | |
- name: Install dependencies | |
working-directory: ./.github/actions | |
run: npm ci | |
# Desktop icons | |
- name: Update desktop icons | |
uses: ./.github/actions/dist/desktop-transform | |
with: | |
files: "icons/desktop/**/*.svg" | |
# Mobile icons | |
- name: Update mobile svg icons | |
uses: ./.github/actions/dist/mobile-transform | |
with: | |
files: "icons/mobile/**/*.svg" | |
file_type: "svg" | |
- name: Update mobile xml icons | |
uses: ./.github/actions/dist/mobile-transform | |
with: | |
files: "icons/mobile/**/*.xml" | |
file_type: "xml" | |
# Commit changes | |
- name: Commit changes | |
uses: ./.github/actions/dist/commit-changes |