Skip to content

Commit a729d74

Browse files
committed
Update version in examples/readme
1 parent f914eea commit a729d74

File tree

4 files changed

+18
-18
lines changed

4 files changed

+18
-18
lines changed

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
runs-on: ubuntu-latest
3232
steps:
3333
- uses: actions/checkout@v1 # required
34-
- uses: cwtools/cwtools-action@v1.0.0
34+
- uses: cwtools/cwtools-action@v1.1.0
3535
with:
3636
game: hoi4
3737
env:
@@ -44,14 +44,14 @@ This action will create a new job called "CWTools", which will be used to annota
4444
The full `output.json` log is saved to `$GITHUB_WORKSPACE`, and can be recovered with [actions/upload-artifact](https://github.com/actions/upload-artifact).
4545

4646
```yml
47-
- uses: cwtools/cwtools-action@v1.0.0
47+
- uses: cwtools/cwtools-action@v1.1.0
4848
with:
4949
game: hoi4
5050
env:
5151
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5252
- name: Upload artifact
5353
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
5555
with:
5656
name: cwtools_output
5757
path: output.json
@@ -64,7 +64,7 @@ The full `output.json` log is saved to `$GITHUB_WORKSPACE`, and can be recovered
6464
What game to use. Allowed values: `hoi4`, `ck2`, `eu4`, `ir`, `stellaris`, `vic2`.
6565

6666
```yml
67-
- uses: cwtools/cwtools-action@v1.0.0
67+
- uses: cwtools/cwtools-action@v1.1.0
6868
with:
6969
game: hoi4
7070
env:
@@ -76,7 +76,7 @@ What game to use. Allowed values: `hoi4`, `ck2`, `eu4`, `ir`, `stellaris`, `vic2
7676
Path to the mod folder in `$GITHUB_WORKSPACE` (root of repository). (Default: "" - root of repository itself)
7777

7878
```yml
79-
- uses: cwtools/cwtools-action@v1.0.0
79+
- uses: cwtools/cwtools-action@v1.1.0
8080
with:
8181
game: hoi4
8282
modPath: "mod_folder"
@@ -89,7 +89,7 @@ Path to the mod folder in `$GITHUB_WORKSPACE` (root of repository). (Default: ""
8989
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)
9090

9191
```yml
92-
- uses: cwtools/cwtools-action@v1.0.0
92+
- uses: cwtools/cwtools-action@v1.1.0
9393
with:
9494
game: hoi4
9595
cache: "cache/hoi4.cwb.bz2"
@@ -102,7 +102,7 @@ Path to the full cache file (`cwb.bz2`) in `$GITHUB_WORKSPACE` (root of reposito
102102
Which languages to check localisation for, space separated, lowercase (eg. `english spanish russian`). Note: May be different from game to game. (Default: `english`)
103103

104104
```yml
105-
- uses: cwtools/cwtools-action@v1.0.0
105+
- uses: cwtools/cwtools-action@v1.1.0
106106
with:
107107
game: hoi4
108108
locLanguages: "english spanish russian"
@@ -115,7 +115,7 @@ Which languages to check localisation for, space separated, lowercase (eg. `engl
115115
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)
116116

117117
```yml
118-
- uses: cwtools/cwtools-action@v1.0.0
118+
- uses: cwtools/cwtools-action@v1.1.0
119119
with:
120120
game: hoi4
121121
vanillaMode: "1"
@@ -128,7 +128,7 @@ Whether to not use cache, and instead treat the project as a vanilla game instal
128128
What rules repository to use (Default: `https://github.com/cwtools/cwtools-$INPUT_GAME-config.git`)
129129

130130
```yml
131-
- uses: cwtools/cwtools-action@v1.0.0
131+
- uses: cwtools/cwtools-action@v1.1.0
132132
with:
133133
game: hoi4
134134
rules: "https://github.com/Yard1/cwtools-hoi4-config.git"
@@ -141,7 +141,7 @@ What rules repository to use (Default: `https://github.com/cwtools/cwtools-$INPU
141141
What ref on rules repo to checkout (Default: `master`)
142142

143143
```yml
144-
- uses: cwtools/cwtools-action@v1.0.0
144+
- uses: cwtools/cwtools-action@v1.1.0
145145
with:
146146
game: hoi4
147147
rulesRef: "1.0.0"
@@ -154,7 +154,7 @@ What ref on rules repo to checkout (Default: `master`)
154154
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"`.
155155

156156
```yml
157-
- uses: cwtools/cwtools-action@v1.0.0
157+
- uses: cwtools/cwtools-action@v1.1.0
158158
with:
159159
game: hoi4
160160
changedFilesOnly: "0"
@@ -167,7 +167,7 @@ By default will only annotate changed files in a push or a pull request. In orde
167167
You can choose to suppress annotations with chosen CWTools offence category IDs (`CW###`) per GitHub severity type (failure, warning, notice).
168168

169169
```yml
170-
- uses: cwtools/cwtools-action@v1.0.0
170+
- uses: cwtools/cwtools-action@v1.1.0
171171
with:
172172
game: hoi4
173173
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
180180
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.
181181

182182
```yml
183-
- uses: cwtools/cwtools-action@v1.0.0
183+
- uses: cwtools/cwtools-action@v1.1.0
184184
with:
185185
game: hoi4
186186
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
193193
Which CWTools.CLI version to use (Default: latest stable).
194194

195195
```yml
196-
- uses: cwtools/cwtools-action@v1.0.0
196+
- uses: cwtools/cwtools-action@v1.1.0
197197
with:
198198
game: hoi4
199199
CWToolsCLIVersion: '0.0.7'

examples/GitHub_CWToolsCI.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@ jobs:
3636
runs-on: ubuntu-latest
3737
steps:
3838
- uses: actions/checkout@v1
39-
- uses: cwtools/cwtools-action@v1.0.0
39+
- uses: cwtools/cwtools-action@v1.1.0
4040
with:
4141
game: hoi4
4242
locLanguages: "english russian" # change this to what localisation languages your mod supports
4343
env:
4444
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4545
- name: Upload output.json
4646
if: always()
47-
uses: actions/upload-artifact@v1.0.0
47+
uses: actions/upload-artifact@v1.1.0
4848
with:
4949
name: cwtools_output
5050
path: output.json

examples/GitLab_CWToolsCI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ CWTools_CI:
2929
stage: CWTools_CI
3030
only: [merge_requests]
3131
script:
32-
- wget -O - -q https://raw.githubusercontent.com/cwtools/cwtools-action/v1.0.0/lib/gitlab_setup.sh | sh -s
32+
- wget -O - -q https://raw.githubusercontent.com/cwtools/cwtools-action/v1.1.0/lib/gitlab_setup.sh | sh -s
3333

3434
# Optional, expose the CWTools errors in JSON
3535
artifacts:

lib/gitlab_setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ if [ -z "$INPUT_GAME" ] || [ "$INPUT_GAME" = "" ]; then
44
fi
55

66
if [ -z "$INPUT_CWTOOLSACTIONREF" ] || [ "$INPUT_CWTOOLSACTIONREF" = "" ]; then
7-
INPUT_CWTOOLSACTIONREF="v1.0.0"
7+
INPUT_CWTOOLSACTIONREF="v1.1.0"
88
fi
99

1010
if [ -z "$INPUT_REVIEWDOGREF" ] || [ "$INPUT_REVIEWDOGREF" = "" ]; then

0 commit comments

Comments
 (0)