-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathGitHub_CWToolsCI.yml
50 lines (47 loc) · 1.22 KB
/
GitHub_CWToolsCI.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
44
45
46
47
48
49
50
# cwtools-action
# https://github.com/cwtools/cwtools-action
# Example GitHub Actions workflow file for a Hearts of Iron IV project
# Will trigger on pushes to master, or when a pull request is made or updated
# Will only trigger if files that can be checked by CWTools are pushed
# Put in .github/workflows (create folders if they are not there)
name: CWTools CI
on:
push:
branches:
- master
paths:
- '**/*.txt'
- '**/*.yml'
- '**/*.gfx'
- '**/*.gui'
- '!.**'
- '!tutorial/**'
- '!changelog.txt'
- '!interface/credits.txt'
pull_request:
paths:
- '**/*.txt'
- '**/*.yml'
- '**/*.gfx'
- '**/*.gui'
- '!.**'
- '!tutorial/**'
- '!changelog.txt'
- '!interface/credits.txt'
jobs:
cwtools_job:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: cwtools/[email protected]
with:
game: hoi4
locLanguages: "english russian" # change this to what localisation languages your mod supports
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload output.json
if: always()
uses: actions/[email protected]
with:
name: cwtools_output
path: output.json