You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ jobs:
31
31
runs-on: ubuntu-latest
32
32
steps:
33
33
- uses: actions/checkout@v1 # required
34
-
- uses: cwtools/cwtools-action@v1.0.0
34
+
- uses: cwtools/cwtools-action@v1.1.0
35
35
with:
36
36
game: hoi4
37
37
env:
@@ -44,14 +44,14 @@ This action will create a new job called "CWTools", which will be used to annota
44
44
The full `output.json` log is saved to `$GITHUB_WORKSPACE`, and can be recovered with [actions/upload-artifact](https://github.com/actions/upload-artifact).
45
45
46
46
```yml
47
-
- uses: cwtools/cwtools-action@v1.0.0
47
+
- uses: cwtools/cwtools-action@v1.1.0
48
48
with:
49
49
game: hoi4
50
50
env:
51
51
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52
52
- name: Upload artifact
53
53
if: always() # so even if the check fails, the log is uploaded
54
-
uses: actions/upload-artifact@v1.0.0
54
+
uses: actions/upload-artifact@v1.1.0
55
55
with:
56
56
name: cwtools_output
57
57
path: output.json
@@ -64,7 +64,7 @@ The full `output.json` log is saved to `$GITHUB_WORKSPACE`, and can be recovered
64
64
What game to use. Allowed values: `hoi4`, `ck2`, `eu4`, `ir`, `stellaris`, `vic2`.
65
65
66
66
```yml
67
-
- uses: cwtools/cwtools-action@v1.0.0
67
+
- uses: cwtools/cwtools-action@v1.1.0
68
68
with:
69
69
game: hoi4
70
70
env:
@@ -76,7 +76,7 @@ What game to use. Allowed values: `hoi4`, `ck2`, `eu4`, `ir`, `stellaris`, `vic2
76
76
Path to the mod folder in `$GITHUB_WORKSPACE` (root of repository). (Default: ""- root of repository itself)
77
77
78
78
```yml
79
-
- uses: cwtools/cwtools-action@v1.0.0
79
+
- uses: cwtools/cwtools-action@v1.1.0
80
80
with:
81
81
game: hoi4
82
82
modPath: "mod_folder"
@@ -89,7 +89,7 @@ Path to the mod folder in `$GITHUB_WORKSPACE` (root of repository). (Default: ""
89
89
Path to the full cache file (`cwb.bz2`) in `$GITHUB_WORKSPACE` (root of repository). Use an empty string to use metadata from cwtools/cwtools-cache-files (Default: use metadata)
90
90
91
91
```yml
92
-
- uses: cwtools/cwtools-action@v1.0.0
92
+
- uses: cwtools/cwtools-action@v1.1.0
93
93
with:
94
94
game: hoi4
95
95
cache: "cache/hoi4.cwb.bz2"
@@ -102,7 +102,7 @@ Path to the full cache file (`cwb.bz2`) in `$GITHUB_WORKSPACE` (root of reposito
102
102
Which languages to check localisation for, space separated, lowercase (eg. `english spanish russian`). Note: May be different from game to game. (Default: `english`)
103
103
104
104
```yml
105
-
- uses: cwtools/cwtools-action@v1.0.0
105
+
- uses: cwtools/cwtools-action@v1.1.0
106
106
with:
107
107
game: hoi4
108
108
locLanguages: "english spanish russian"
@@ -115,7 +115,7 @@ Which languages to check localisation for, space separated, lowercase (eg. `engl
115
115
Whether to not use cache, and instead treat the project as a vanilla game installation folder - if you are a modder, you probably should not be using this. If True, cache input will be ignored (Default: False, set to anything other than 0 or blank for True)
116
116
117
117
```yml
118
-
- uses: cwtools/cwtools-action@v1.0.0
118
+
- uses: cwtools/cwtools-action@v1.1.0
119
119
with:
120
120
game: hoi4
121
121
vanillaMode: "1"
@@ -128,7 +128,7 @@ Whether to not use cache, and instead treat the project as a vanilla game instal
128
128
What rules repository to use (Default: `https://github.com/cwtools/cwtools-$INPUT_GAME-config.git`)
@@ -141,7 +141,7 @@ What rules repository to use (Default: `https://github.com/cwtools/cwtools-$INPU
141
141
What ref on rules repo to checkout (Default: `master`)
142
142
143
143
```yml
144
-
- uses: cwtools/cwtools-action@v1.0.0
144
+
- uses: cwtools/cwtools-action@v1.1.0
145
145
with:
146
146
game: hoi4
147
147
rulesRef: "1.0.0"
@@ -154,7 +154,7 @@ What ref on rules repo to checkout (Default: `master`)
154
154
By default will only annotate changed files in a push or a pull request. In order to annotate all files set `changedFilesOnly` input to `"0"`.
155
155
156
156
```yml
157
-
- uses: cwtools/cwtools-action@v1.0.0
157
+
- uses: cwtools/cwtools-action@v1.1.0
158
158
with:
159
159
game: hoi4
160
160
changedFilesOnly: "0"
@@ -167,7 +167,7 @@ By default will only annotate changed files in a push or a pull request. In orde
167
167
You can choose to suppress annotations with chosen CWTools offence category IDs (`CW###`) per GitHub severity type (failure, warning, notice).
168
168
169
169
```yml
170
-
- uses: cwtools/cwtools-action@v1.0.0
170
+
- uses: cwtools/cwtools-action@v1.1.0
171
171
with:
172
172
game: hoi4
173
173
suppressedOffenceCategories: '{"failure":["CW110", "CW210"], "warning":[], "notice":[]}' # will suppress CW110 and CW210 category failures, but will show those for warnings and notices
@@ -180,7 +180,7 @@ You can choose to suppress annotations with chosen CWTools offence category IDs
180
180
You can choose to suppress annotations completely in certain files. Use paths from root of repository, make sure to have no trailing whitespace. Globbing is not supported.
181
181
182
182
```yml
183
-
- uses: cwtools/cwtools-action@v1.0.0
183
+
- uses: cwtools/cwtools-action@v1.1.0
184
184
with:
185
185
game: hoi4
186
186
suppressedFiles: '["common/scripted_effects/my_effects.txt", "events/EventFile.txt"]' # will completely suppress any annotations in those two files
@@ -193,7 +193,7 @@ You can choose to suppress annotations completely in certain files. Use paths fr
193
193
Which CWTools.CLI version to use (Default: latest stable).
0 commit comments