forked from phobos2077/Fallout2_Restoration_Project
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (29 loc) · 876 Bytes
/
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
name: Poify/Unpoify
on:
push:
paths:
- "data/text/**"
pull_request:
paths:
- "data/text/**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Poify/Unpoify run
if: contains(fromJson('["refs/heads/master", "refs/heads/pixote-map-update"]'), github.ref) && github.event_name == 'push'
uses: BGforgeNet/msg2po@master
with:
poify: true
unpoify: true
single_commit: true
- name: Poify/Unpoify test
if: (!contains(fromJson('["refs/heads/master", "refs/heads/pixote-map-update"]'), github.ref) && github.event_name == 'push') || github.event_name == 'pull_request'
uses: BGforgeNet/msg2po@master
with:
poify: true
unpoify: true
dir2msgstr: true
push: false