mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
fix: update i18n action to run only when .strings file updated
This commit is contained in:
12
.github/workflows/check.yaml
vendored
12
.github/workflows/check.yaml
vendored
@@ -1,12 +0,0 @@
|
||||
name: Tests and checks
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
i18n:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
- run: python3 Kit/scripts/i18n.py
|
||||
20
.github/workflows/i18n.yaml
vendored
Normal file
20
.github/workflows/i18n.yaml
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
name: i18n check
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- '.github/workflows/i18n.yaml'
|
||||
- '**/*.strings'
|
||||
pull_request:
|
||||
paths:
|
||||
- '.github/workflows/i18n.yaml'
|
||||
- '**/*.strings'
|
||||
|
||||
jobs:
|
||||
i18n:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
- run: python3 Kit/scripts/i18n.py
|
||||
Reference in New Issue
Block a user