-
Notifications
You must be signed in to change notification settings - Fork 3
43 lines (39 loc) · 1.16 KB
/
poify.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Poify/Unpoify
on:
push:
paths:
- "wildmage/tra/**"
pull_request:
paths:
- "wildmage/tra/**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Poify/Unpoify run
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
uses: BGforgeNet/msg2po@master
with:
poify: true
unpoify: true
dir2msgstr: true
single_commit: true
handle_charsets: true
handle_charsets_tra_path: wildmage/tra
handle_charsets_out_path: wildmage/tra_ee
handle_charsets_split_console: true
- name: Poify/Unpoify test
if: (github.ref != 'refs/heads/master' && github.event_name == 'push') || github.event_name == 'pull_request'
uses: BGforgeNet/msg2po@master
with:
poify: true
unpoify: true
dir2msgstr: true
single_commit: true
push: false
handle_charsets: true
handle_charsets_tra_path: wildmage/tra
handle_charsets_out_path: wildmage/tra_ee
handle_charsets_split_console: true