Skip to content

Commit c8f850f

Browse files
authored
update mcversions (#82)
* update mcversions * do not fail fast * Add fix for 1.20.1.
1 parent 0e3c257 commit c8f850f

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ jobs:
2626
if: github.ref == 'refs/heads/master' #for prs, we use the pr-workflow
2727
strategy:
2828
matrix:
29-
mcVersionIndex: ["1.8", "1.9", "1.10", "1.11", "1.11.2", "1.12", "1.13", "1.14", "1.15", "1.16", "1.16.5", '1.17', '1.18', '1.18.2']
30-
29+
mcVersionIndex: ['1.8.8', '1.9.4', '1.10.2', '1.11.2', '1.12.2', '1.13.2', '1.14.4', '1.15.2', '1.16.5', '1.17.1', '1.18.2', '1.19', '1.19.2', '1.19.3', '1.19.4', '1.20.1']
30+
fail-fast: false
31+
3132
steps:
3233
- uses: actions/checkout@v2
3334
- uses: actions/setup-node@v1

.github/workflows/pr-workflow.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ jobs:
2323
timeout-minutes: 5
2424
strategy:
2525
matrix:
26-
mcVersionIndex: ["1.8", "1.9", "1.10", "1.11", "1.11.2", "1.12", "1.13", "1.14", "1.15", "1.16", "1.16.5"]
26+
mcVersionIndex: ['1.8.8', '1.9.4', '1.10.2', '1.11.2', '1.12.2', '1.13.2', '1.14.4', '1.15.2', '1.16.5', '1.17.1', '1.18.2', '1.19', '1.19.2', '1.19.3', '1.19.4', '1.20.1']
27+
fail-fast: false
2728

2829
steps:
2930
- uses: actions/checkout@v2

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,6 @@ package-lock.json
1515

1616
# output folder of using dumpPackets
1717

18-
output
18+
output
19+
20+
temp/

lib/mineflayer-log.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class MineflayerLog {
5959

6060
await this.kindPromise[meta.name]
6161
await fsP.writeFile(path.join(this.outputDirectory, 'from-server', meta.name, '' + n + '.raw'), buffer)
62-
await fsP.writeFile(path.join(this.outputDirectory, 'from-server', meta.name, '' + n + '.json'), JSON.stringify(data, null, 2))
62+
await fsP.writeFile(path.join(this.outputDirectory, 'from-server', meta.name, '' + n + '.json'), data === undefined ? '' : JSON.stringify(data, null, 2))
6363
})
6464
}
6565

0 commit comments

Comments
 (0)